refactored the view
SVR for purchase prediction, time series not working correctly (yet)