create_predict_fun {FACT} | R Documentation |
Create a generic prediction function
Description
Create the algorithms prediction function.
Usage
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)
Arguments
model |
any |
task |
|
predict.fun |
function(model, newdata) To be extended for more methods. |
type |
|
Value
A unified cluster assignment function for either hard or soft labels.
Methods (by class)
-
create_predict_fun(Learner)
: Create a predict function for algorithms frommlr3cluster
[Package FACT version 0.1.1 Index]