.save.model {StabPerf} | R Documentation |
Retrains the classifier after selecting the signature and dumps it to the filesystem with all information that are later needed for prediction.
.save.model(selector, classifier, predictor, model.file=getOption("edaprakt.modelfile"), data.file=getOption("edaprakt.datafile"))
selector |
A expression describing a feature-selector. |
classifier |
A expression describing a classifier. |
predictor |
A expression describing the corresponding predictor to the classifier. |
model.file |
Destination to where the model is saved. |
data.file |
Source from where the data is read. |
Runs the given feature-selection on the dataset and trains the given classifier on the subset. The model, features and prediction-method is saved to the destination, assigning the type edamodel
.
Invisible |
.select
, .classify.and.predict
, load.model
, predict.edamodel
.save.model({...}, {...}, {...})