Trait tpe::density_estimation::BuildDensityEstimator[][src]

pub trait BuildDensityEstimator {
    type Estimator: DensityEstimator;
    type Error: Error;
    fn build_density_estimator<I>(
        &self,
        xs: I,
        range: Range
    ) -> Result<Self::Estimator, Self::Error>
    where
        I: Iterator<Item = f64> + Clone
; }
Expand description

This trait allows building probability density estimators.

Associated Types

Density estimator to be built.

Possible error during building.

Required methods

Builds a probability density estimator from the given samples.

Implementors