Combining piecewise linear regression and a granular computing framework for financial time series classification