Should return the underlying model object (stats::lm, xgboost::xgboost, ...)
[ ] Create modelInfo
Should return information about the model. Instructions list training.time.sec as an example.
This could be implemented as a generic, where the info is exposed via an $info attribute
[ ] Generic for configuration
configuration.Model generic returns the config information exposed via $configuration
[ ] Generic for predict
Implement predict.Model generic
Returns an object of class Prediction
[ ] Implement Prediction class
[ ] Implement printer for Prediction class
print.Prediction generic
Description
Models represent a trained machine learning model that can be used for prediction.
They should provide information about the algorithm used to get the result, a way to inspect the result, and a way to make predictions.
Tasks
modelObject
.stats::lm
,xgboost::xgboost
, ...)modelInfo
training.time.sec
as an example.generic
, where the info is exposed via an$info
attributeconfiguration
configuration.Model
generic returns the config information exposed via$configuration
predict
predict.Model
genericPrediction
Prediction
classPrediction
classprint.Prediction
genericDescription
Models represent a trained machine learning model that can be used for prediction. They should provide information about the algorithm used to get the result, a way to inspect the result, and a way to make predictions.