Calls sm::sm.density() and the result is coerced to a distr6::Distribution.

Dictionary

This Learner can be instantiated via the dictionary mlr_learners or with the associated sugar function lrn():

LearnerDensNonparametric$new()
mlr_learners$get("dens.nonpar")
lrn("dens.nonpar")

Meta Information

  • Type: "dens"

  • Predict Types: pdf

  • Feature Types: logical, integer, numeric, character, factor, ordered

  • Properties: weights

  • Packages: sm distr6

See also

Super classes

mlr3::Learner -> mlr3proba::LearnerDens -> LearnerDensNonparametric

Methods

Public methods

Inherited methods

Method new()

Creates a new instance of this R6 class.

Usage

LearnerDensNonparametric$new()


Method clone()

The objects of this class are cloneable with this method.

Usage

LearnerDensNonparametric$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.