Mining Predictive Patterns And Extension To Multivariate Temporal Data