dotnet / dotnet/machinelearning
OvaModelParameters is not strongly-typed
Open
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
Assessment
This issue has not been assessed yet.