dotnet / dotnet/machinelearning

OvaModelParameters is not strongly-typed

Open
#2,467 1 comment 0 reactions 0 assignees View on GitHub
api-suggestion area-Trainers Priority:1
Dominant language
C#
Stars
9.4k
Forks
2k
Avg merge
2d 20h
Merged PRs (30d)
11

Description

In the constructor of 'OvaModelParameters`,
```csharp
using TScalarPredictor = IPredictorProducing;
...
internal static OvaModelParameters Create(IHost host, OutputFormula outputFormula, TScalarPredictor[] predictors)
{
...
}
```
we remove the type information of predictors by forcing them to be `IPredictorProducing`. To make all multi-class classifiers' outputting strongly-typed models. We need to make `OvaModelParameters` strongly-typed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.