mlr_learners_classif.nnet.Rd
Calls nnet::nnet from package nnet.
This Learner can be instantiated via the
dictionary mlr_learners or with the associated
sugar function lrn()
:
mlr_learners$get("classif.nnet") lrn("classif.nnet")
Packages: nnet
Predict Types: prob, response
Feature Types: numeric, factor, ordered
Properties: multiclass, twoclass, weights
size
:
Adjusted default: 3L
Reason for change: no default in nnet().
Ripley, B (1996). Pattern Recognition and Neural Networks. Cambridge. http://www.stats.ox.ac.uk/~ripley/PRbook/Compl.pdf
henrifnk
mlr3::Learner
-> mlr3::LearnerClassif
-> LearnerClassifNnet
new()
Creates a new instance of this R6 class.
LearnerClassifNnet$new()
clone()
The objects of this class are cloneable with this method.
LearnerClassifNnet$clone(deep = FALSE)
deep
Whether to make a deep clone.
# stop example failing with warning if package not installed learner = suppressWarnings(mlr3::lrn("classif.nnet")) print(learner)#> <LearnerClassifNnet:classif.nnet> #> * Model: - #> * Parameters: size=3 #> * Packages: nnet #> * Predict Type: prob #> * Feature types: numeric, factor, ordered #> * Properties: multiclass, twoclass, weights# available parameters: learner$param_set$ids()#> [1] "size" "subset" "na.action" "contrasts" "Wts" "mask" #> [7] "linout" "entropy" "softmax" "censored" "skip" "rang" #> [13] "decay" "maxit" "Hess" "trace" "MaxNWts" "abstol" #> [19] "reltol"