powered by
This function predicts values based upon a model trained by baseline.
baseline
# S3 method for BASELINEmodel predict(object, newdata, probability = getOption("utiml.use.probs", TRUE), ...)
Object of class 'BASELINEmodel'.
BASELINEmodel
An object containing the new input data. This must be a matrix, data.frame or a mldr object.
Logical indicating whether class probabilities should be returned. (Default: getOption("utiml.use.probs", TRUE))
getOption("utiml.use.probs", TRUE)
not used.
An object of type mlresult, based on the parameter probability.
Baseline
# NOT RUN { model <- baseline(toyml) pred <- predict(model, toyml) # }
Run the code above in your browser using DataLab