create_predict_fun {FACT} | R Documentation |
Create the algorithms prediction function.
create_predict_fun(model, task, predict.fun = NULL, type = NULL)
## S3 method for class 'Learner'
create_predict_fun(model, task, predict.fun = NULL, type = NULL)
model |
any |
task |
|
predict.fun |
function(model, newdata) To be extended for more methods. |
type |
|
A unified cluster assignment function for either hard or soft labels.
create_predict_fun(Learner)
: Create a predict function for algorithms from
mlr3cluster