Adaptive wavelet transform model for time series data prediction