Posted By: gtell
'neural' function - 09/12/16 21:55
Dear JCL,
dear all,
I am using adviceLong and I need to use:
in neural.train and:
in neural.predict.
Both in neural.train and neural.predict use the same "prepr" object.
How can I save/load it?
Could you give me an idea?
What I want to achieve is to pre-process data in the same way both in training and test.
Thanks.
Cheers.
dear all,
I am using adviceLong and I need to use:
Code:
prepr<-preProcess(X, method = "spatialSign")
in neural.train and:
Code:
x.ts<-predict(prepr, X)
in neural.predict.
Both in neural.train and neural.predict use the same "prepr" object.
How can I save/load it?
Could you give me an idea?
What I want to achieve is to pre-process data in the same way both in training and test.
Thanks.
Cheers.