Skip to content

fit OneHotEncoder without MLJBase #465

@olivierlabayle

Description

@olivierlabayle

Hello,

I am not sure I understand if this is expected. Due to some lacking interface definition, if MLJBase is not imported, one cannot fit a OneHotEncoder:

using MLJModels, MLJModelInterface, CategoricalArrays
model = OneHotEncoder()
X = (x=categorical(["a", "b", "a"]),)
fitresult, _, _ = fit(model, 1, X)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions