Skip to content
This repository was archived by the owner on Jul 16, 2021. It is now read-only.
This repository was archived by the owner on Jul 16, 2021. It is now read-only.

Add a new trait for fitting a transformer #171

@AtheMathmo

Description

@AtheMathmo

As discussed in #166 .

We would like to add a new trait to ensure that a Transformer can only be used from a valid state. This means adding a trait like:

pub trait TransformFitter<U, T: Transformer> {
    fn fit(self, inputs: U) -> T;
}

And we will make it so that Transformers which require fitting before use cannot be instantiated except via this trait.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions