dotnet / dotnet/machinelearning

OvaModelParameters is not strongly-typed

Aperta
#2,467 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
api-suggestion area-Trainers Priority:1
Lingua principale
C#
Stelle
9.4k
Fork
2k
Merge medio
2g 20h
PR unite (30g)
11

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.