convert_prediction()
is called on the slave to check and convert the return
value of the predict()
function of a Learner.
as_prediction()
is used to construct a Prediction object from the data
returned by convert_prediction()
.
Prediction Object Helpers
convert_prediction()
is called on the slave to check and convert the return
value of the predict()
function of a Learner.
as_prediction()
is used to construct a Prediction object from the data
returned by convert_prediction()
.
convert_prediction(task, predicted)as_prediction(task, predicted)
:: named list()
Return value of the Learner.