Skip to content

OvaModelParameters is not strongly-typed #2467

Description

@wschin

In the constructor of 'OvaModelParameters`,

        using TScalarPredictor = IPredictorProducing<float>;
        ...
        internal static OvaModelParameters Create(IHost host,  OutputFormula outputFormula, TScalarPredictor[] predictors)
        {
        ...
        }

we remove the type information of predictors by forcing them to be IPredictorProducing<float>. To make all multi-class classifiers' outputting strongly-typed models. We need to make OvaModelParameters strongly-typed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority:1Work that is critical for the release, but we could probably ship withoutapi-suggestionEarly API idea and discussion, it is NOT ready for implementationarea-TrainersMachine learning trainers and training APIsyellowmaintenance only

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions