[R] Saving model and other objects from caret
Stephan.Kolassa at gmx.de
Thu Feb 7 22:45:51 CET 2013
Have you looked at ?save and ?load?
As I already wrote here:
On 07.02.2013 22:33, James Jong wrote:
> Say I train a model in caret, e.g.:
> RFmodel <- train(X,Y,method='rf',trControl=myCtrl,tuneLength=1)
> How can I save this to disk and load it later in R?
> How about an object of the class "resamples"?
> resamps <- resamples(
> list( RF = RFmodel,
> SVM = SVMmodel,
> KNN = KNNmodel,
> NN = NNmodel
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help