mlr_learners_dens.hist: Histogram Density Estimator

mlr_learners_dens.histR Documentation

Histogram Density Estimator

Description

Calls graphics::hist() 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():

LearnerDensHistogram$new()
mlr_learners$get("dens.hist")
lrn("dens.hist")

Meta Information

  • Type: "dens"

  • Predict Types: ⁠pdf, cdf, distr⁠

  • Feature Types: ⁠integer, numeric⁠

  • Properties: -

  • Packages: mlr3 mlr3proba distr6

Super classes

mlr3::Learner -> mlr3proba::LearnerDens -> LearnerDensHistogram

Methods

Public methods

Inherited methods

Method new()

Creates a new instance of this R6 class.

Usage
LearnerDensHistogram$new()

Method clone()

The objects of this class are cloneable with this method.

Usage
LearnerDensHistogram$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

Other density estimators: mlr_learners_dens.kde


mlr-org/mlr3proba documentation built on April 12, 2025, 4:38 p.m.