Trait linfa::traits::IncrementalFit[][src]

pub trait IncrementalFit<'a, R: Records, T> {
    type ObjectIn: 'a;
    type ObjectOut: 'a;
    fn fit_with(
        &self,
        model: Self::ObjectIn,
        dataset: &'a DatasetBase<R, T>
    ) -> Self::ObjectOut; }

Incremental algorithms

An incremental algorithm takes a former model and dataset and returns a new model with updated parameters. If the former model is None, then the function acts like Fit::fit and initializes the model first.

Associated Types

type ObjectIn: 'a[src]

type ObjectOut: 'a[src]

Loading content...

Required methods

fn fit_with(
    &self,
    model: Self::ObjectIn,
    dataset: &'a DatasetBase<R, T>
) -> Self::ObjectOut
[src]

Loading content...

Implementors

Loading content...