2 writes to Deviance
Microsoft.ML.StandardTrainers (2)
Standard\ModelStatistics.cs (2)
102
Deviance
= deviance;
124
Deviance
= ctx.Reader.ReadFloat();
10 references to Deviance
Microsoft.ML.StandardTrainers (7)
Standard\ModelStatistics.cs (7)
150
ctx.Writer.Write(
Deviance
);
162
writer.WriteLine("Residual Deviance: \t{0}",
Deviance
);
164
writer.WriteLine("AIC: \t{0}", 2 * ParametersCount +
Deviance
);
176
resultCollection.Add(new KeyValuePair<string, object>("Residual Deviance",
Deviance
));
178
resultCollection.Add(new KeyValuePair<string, object>("AIC", 2 * ParametersCount +
Deviance
));
186
builder.AddPrimitiveValue("Residual Deviance", NumberDataViewType.Single,
Deviance
);
188
builder.AddPrimitiveValue("AIC", NumberDataViewType.Single, 2 * ParametersCount +
Deviance
);
Microsoft.ML.Tests (3)
TrainerEstimators\LbfgsTests.cs (3)
152
CompareNumbersWithTolerance(stats.
Deviance
, 458.970917);
202
CompareNumbersWithTolerance(stats.
Deviance
, 45.79, digitsOfPrecision: 0);
242
Assert.Equal(132.012238f, stats.
Deviance
);