Open
Description
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.
Activity
wschin commentedon May 21, 2019
Without strongly-typed OVA, user can't access the trained models because variable can be accessed when type is known.