mlr_learners_dens.plug: Density Plug-In Kernel Learner

Description Dictionary Super classes Methods References See Also Examples

Description

A mlr3proba::LearnerDens implementing plug-in KDE from package plugdensity. Calls plugdensity::plugin.density().

Dictionary

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

1
2
mlr_learners$get("dens.plug")
lrn("dens.plug")

Super classes

mlr3::Learner -> mlr3proba::LearnerDens -> LearnerDensPlugin

Methods

Public methods

Inherited methods

Method new()

Creates a new instance of this R6 class.

Usage
LearnerDensPlugin$new()

Method clone()

The objects of this class are cloneable with this method.

Usage
LearnerDensPlugin$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

References

J. Engel, Eva Herrmann and Theo Gasser (1994). An iterative bandwidth selector for kernel estimation of densities and their derivatives. Journal of Nonparametric Statistics 4, 21–34.

See Also

Dictionary of Learners: mlr3::mlr_learners

Examples

1
2
3
4
5
6
7
if (requireNamespace("plugdensity")) {
  learner = mlr3::lrn("dens.plug")
  print(learner)

  # available parameters:
  learner$param_set$ids()
}

mlr3learners/mlr3learners.plugdensity documentation built on July 31, 2020, 9:31 a.m.