Skip to contents

Calls kerdiest::kde from package kerdiest.

Dictionary

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

mlr_learners$get("dens.kde_kd")
lrn("dens.kde_kd")

Meta Information

  • Task type: “dens”

  • Predict Types: “pdf”

  • Feature Types: “integer”, “numeric”

  • Required Packages: mlr3extralearners, kerdiest

Parameters

IdTypeDefaultLevelsRange
bwnumeric-\([0, \infty)\)
type_kernelcharacternn, e, t, b\((-\infty, \infty)\)

See also

Author

RaphaelS1

Super classes

mlr3::Learner -> mlr3proba::LearnerDens -> LearnerDensKDEkd

Methods

Inherited methods


Method new()

Creates a new instance of this R6 class.

Usage


Method clone()

The objects of this class are cloneable with this method.

Usage

LearnerDensKDEkd$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

if (requireNamespace("kerdiest", quietly = TRUE)) {
  learner = mlr3::lrn("dens.kde_kd")
  print(learner)

  # available parameters:
  learner$param_set$ids()
}
#> <LearnerDensKDEkd:dens.kde_kd>
#> * Model: -
#> * Parameters: list()
#> * Packages: mlr3, mlr3extralearners, kerdiest
#> * Predict Type: pdf
#> * Feature types: integer, numeric
#> * Properties: -
#> [1] "bw"          "type_kernel"