Skip to contents

Calls np::npudens from package np.

Dictionary

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

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

Meta Information

  • Task type: “dens”

  • Predict Types: “pdf”

  • Feature Types: “integer”, “numeric”

  • Required Packages: mlr3extralearners, np

Parameters

IdTypeDefaultLevelsRange
bwslist-\((-\infty, \infty)\)
ckertypecharactergaussiangaussian, epanechnikov, uniform\((-\infty, \infty)\)
bwscalinglogicalFALSETRUE, FALSE\((-\infty, \infty)\)
bwmethodcharactercv.mlcv.ml, cv.ls, normal-reference\((-\infty, \infty)\)
bwtypecharacterfixedfixed, generalized_nn, adaptive_nn\((-\infty, \infty)\)
bandwidth.computelogicalFALSETRUE, FALSE\((-\infty, \infty)\)
ckerorderinteger2\([2, 8]\)
reminlogicalTRUETRUE, FALSE\((-\infty, \infty)\)
itmaxinteger10000\([1, \infty)\)
nmultiinteger-\([1, \infty)\)
ftolnumeric1.490116e-07\((-\infty, \infty)\)
tolnumeric0.0001490116\((-\infty, \infty)\)
smallnumeric1.490116e-05\((-\infty, \infty)\)
lbc.dirnumeric0.5\((-\infty, \infty)\)
dfc.dirnumeric0.5\((-\infty, \infty)\)
cfac.dirlist1.90983\((-\infty, \infty)\)
initc.dirnumeric1\((-\infty, \infty)\)
lbd.dirnumeric0.1\((-\infty, \infty)\)
hbd.dirnumeric1\((-\infty, \infty)\)
dfac.dirlist0.190983\((-\infty, \infty)\)
initd.dirnumeric1\((-\infty, \infty)\)
lbc.initnumeric0.1\((-\infty, \infty)\)
hbc.initnumeric2\((-\infty, \infty)\)
cfac.initnumeric0.5\((-\infty, \infty)\)
lbd.initnumeric0.1\((-\infty, \infty)\)
hbd.initnumeric0.9\((-\infty, \infty)\)
dfac.initnumeric0.37\((-\infty, \infty)\)
ukertypecharacter-aitchisonaitken, liracine\((-\infty, \infty)\)
okertypecharacter-wangvanryzin, liracine\((-\infty, \infty)\)

References

Li, Q. and J.S. Racine (2003), “Nonparametric estimation of distributions with categorical and continuous data,” Journal of Multivariate Analysis, 86, 266-292.

See also

Author

RaphaelS1

Super classes

mlr3::Learner -> mlr3proba::LearnerDens -> LearnerDensMixed

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

LearnerDensMixed$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

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

  # available parameters:
  learner$param_set$ids()
}
#> <LearnerDensMixed:dens.mixed>
#> * Model: -
#> * Parameters: list()
#> * Packages: mlr3, mlr3extralearners, np
#> * Predict Type: pdf
#> * Feature types: integer, numeric
#> * Properties: -
#>  [1] "bws"               "ckertype"          "bwscaling"        
#>  [4] "bwmethod"          "bwtype"            "bandwidth.compute"
#>  [7] "ckerorder"         "remin"             "itmax"            
#> [10] "nmulti"            "ftol"              "tol"              
#> [13] "small"             "lbc.dir"           "dfc.dir"          
#> [16] "cfac.dir"          "initc.dir"         "lbd.dir"          
#> [19] "hbd.dir"           "dfac.dir"          "initd.dir"        
#> [22] "lbc.init"          "hbc.init"          "cfac.init"        
#> [25] "lbd.init"          "hbd.init"          "dfac.init"        
#> [28] "ukertype"          "okertype"