Learning-based shapelets discovery by feature selection for time series classification