Skip to content
Prev 75422 / 398502 Next

How to insert a certain model in SVM regarding to fixed kernels

On 8/12/05, Gabor Grothendieck <ggrothendieck at gmail.com> wrote:
The above statement should have been y.svm <- dyn$svm(y ~ lag(y,-1))
since we want to bring the previous value of y forward so that it is being
used to predict y (rather than predicting y by bringing the future value of y
backward).  In R positive values for the lag move the series backward
and negative values move it forward.