dotnet / dotnet/machinelearning

OvaModelParameters is not strongly-typed

Offen
#2,467 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
api-suggestion area-Trainers Priority:1
Vorherrschende Sprache
C#
Sterne
9.4k
Forks
2k
Ø Merge
2 T. 20 Std.
Gemergte PRs (30 T.)
11

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.