svm - time series forecasting using Support Vector Machine -


what attributes used in time series forecasted using svm? have 2 values date , value @ date class know can use -1 , 1 when price gets or down still don't know how plot time series calculate hyperplane

there papers show ways it:

financial time series forecasting using support vector machine

using support vector machines in financial time series forecasting

financial forecasting using support vector machines

i recommend go through existent literature, fun describe easy way (probably not best) it.

let's have n pairs f f particular date/time of pair , f corresponding value. pairs sorted x component.

let's want predict if given f, corresponding unknown value f go or down (notice use regression , instead try predict value itself).

then train model training set this:

input                         value ======================        ================  y_t0, y_t1, ..., y_ti-1         1 :if y_ti   > y_ti-1, -1 otherwise y_t1, y_t2, ..., y_ti           1 :if y_ti+1 > y_ti,   -1 otherwise y_t2, y_t3, ..., y_ti+1         1 :if y_ti+2 > y_ti+1, -1 otherwise y_t3, y_t4, ..., y_ti+2         1 :if y_ti+3 > y_ti+2, -1 otherwise y_t4, y_t5, ..., y_ti+3         1 :if y_ti+4 > y_ti+3, -1 otherwise 

basically, training algorithm make educated guess of next "tick" in future given glimpse of past. once model trained make prediction feed model n values (where n amount of values used input in training phase) previous value want predict.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -