.save.model {StabPerf}R Documentation

Saves a model for later prediction of samples.

Description

Retrains the classifier after selecting the signature and dumps it to the filesystem with all information that are later needed for prediction.

Usage

.save.model(selector, classifier, predictor, model.file=getOption("edaprakt.modelfile"), data.file=getOption("edaprakt.datafile"))

Arguments

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.

Details

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.

Value

Invisible NULL

See Also

.select, .classify.and.predict, load.model, predict.edamodel

Examples

.save.model({...}, {...}, {...})

[Package StabPerf version 0.5 Index]