R: Histogram Density Estimator

mlr_learners_dens.hist {mlr3proba} | R 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

- `LearnerDensHistogram$new()`

- `LearnerDensHistogram$clone()`

Inherited methods

- `mlr3::Learner$base_learner()`

- `mlr3::Learner$format()`

- `mlr3::Learner$help()`

- `mlr3::Learner$predict()`

- `mlr3::Learner$predict_newdata()`

- `mlr3::Learner$print()`

- `mlr3::Learner$reset()`

- `mlr3::Learner$train()`

#### 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`

[Package mlr3proba version 0.4.3 Index]