Open wschin opened 5 years ago
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.
IPredictorProducing<float>
OvaModelParameters
Without strongly-typed OVA, user can't access the trained models because variable can be accessed when type is known.
In the constructor of 'OvaModelParameters`,
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 makeOvaModelParameters
strongly-typed.