1 type derived from ModelStatisticsBase
Microsoft.ML.StandardTrainers (1)
Standard\ModelStatistics.cs (1)
209public sealed class LinearModelParameterStatistics : ModelStatisticsBase
2 instantiations of ModelStatisticsBase
Microsoft.ML.StandardTrainers (2)
Standard\LogisticRegression\LogisticRegression.cs (1)
312_stats = new ModelStatisticsBase(Host, NumGoodRows, numParams, deviance, nullDeviance);
Standard\LogisticRegression\MulticlassLogisticRegression.cs (1)
359_stats = new ModelStatisticsBase(Host, NumGoodRows, numParams, deviance, nullDeviance);
26 references to ModelStatisticsBase
Microsoft.ML.StandardTrainers (20)
Standard\LinearModelParameters.cs (4)
427public readonly ModelStatisticsBase Statistics; 450internal LinearBinaryModelParameters(IHostEnvironment env, in VBuffer<float> weights, float bias, ModelStatisticsBase stats = null) 475ModelStatisticsBase stats; 476ctx.LoadModelOrNull<ModelStatisticsBase, SignatureLoadModel>(Host, out stats, ModelStatsSubModelFilename);
Standard\LogisticRegression\LogisticRegression.cs (1)
118private ModelStatisticsBase _stats;
Standard\LogisticRegression\MulticlassLogisticRegression.cs (10)
125private ModelStatisticsBase _stats; 437public readonly ModelStatisticsBase Statistics; 456internal LinearMulticlassModelParametersBase(IHostEnvironment env, string name, in VBuffer<float> weights, int numClasses, int numFeatures, string[] labelNames, ModelStatisticsBase stats = null) 500internal LinearMulticlassModelParametersBase(IHostEnvironment env, string name, VBuffer<float>[] weights, float[] bias, int numClasses, int numFeatures, string[] labelNames, ModelStatisticsBase stats = null) 617ModelStatisticsBase stats; 618ctx.LoadModelOrNull<ModelStatisticsBase, SignatureLoadModel>(Host, out stats, ModelStatsSubModelFilename); 1148internal LinearMulticlassModelParameters(IHostEnvironment env, in VBuffer<float> weights, int numClasses, int numFeatures, string[] labelNames, ModelStatisticsBase stats = null) 1153internal LinearMulticlassModelParameters(IHostEnvironment env, VBuffer<float>[] weights, float[] bias, int numClasses, int numFeatures, string[] labelNames, ModelStatisticsBase stats = null) 1220internal MaximumEntropyModelParameters(IHostEnvironment env, in VBuffer<float> weights, int numClasses, int numFeatures, string[] labelNames, ModelStatisticsBase stats = null) 1225internal MaximumEntropyModelParameters(IHostEnvironment env, VBuffer<float>[] weights, float[] bias, int numClasses, int numFeatures, string[] labelNames, ModelStatisticsBase stats = null)
Standard\ModelStatistics.cs (5)
18[assembly: LoadableClass(typeof(ModelStatisticsBase), typeof(LinearModelParameterStatistics), null, typeof(SignatureLoadModel), 23[assembly: LoadableClass(typeof(ModelStatisticsBase), typeof(ModelStatisticsBase), null, typeof(SignatureLoadModel), 25ModelStatisticsBase.LoaderSignature)] 201loaderAssemblyName: typeof(ModelStatisticsBase).Assembly.FullName);
Microsoft.ML.Tests (6)
TrainerEstimators\LbfgsTests.cs (6)
66var stats = linearModel.Statistics as ModelStatisticsBase; 150var stats = subPredictor?.Statistics; 173var stats = model.Statistics; 198var stats = modelParams.Statistics; 240var stats = result?.Statistics;