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

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

  • Properties: -

  • Packages: distr6

See also

Other density estimators: mlr_learners_dens.kde

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.