mlr_learners_classif.fnn.Rd
This Learner can be instantiated via the
dictionary mlr_learners or with the associated
sugar function lrn()
:
mlr_learners$get("classif.fnn") lrn("classif.fnn")
Packages: FNN
Predict Types: response, prob
Feature Types: integer, numeric
Properties: multiclass, twoclass
be-marc
mlr3::Learner
-> mlr3::LearnerClassif
-> LearnerClassifFNN
new()
Creates a new instance of this R6 class.
LearnerClassifFNN$new()
clone()
The objects of this class are cloneable with this method.
LearnerClassifFNN$clone(deep = FALSE)
deep
Whether to make a deep clone.
# stop example failing with warning if package not installed learner = suppressWarnings(mlr3::lrn("classif.fnn")) print(learner)#> <LearnerClassifFNN:classif.fnn> #> * Model: - #> * Parameters: list() #> * Packages: FNN #> * Predict Type: response #> * Feature types: integer, numeric #> * Properties: multiclass, twoclass# available parameters: learner$param_set$ids()#> [1] "k" "algorithm"