This commit is contained in:
parent
c5556f55af
commit
d1bef6ca2c
@ -16,8 +16,8 @@ public class ModelTests
|
|||||||
Console.WriteLine($"* LogLoss: {testMetrics.LogLoss:#.###}");
|
Console.WriteLine($"* LogLoss: {testMetrics.LogLoss:#.###}");
|
||||||
Console.WriteLine($"* LogLossReduction: {testMetrics.LogLossReduction:#.###}");
|
Console.WriteLine($"* LogLossReduction: {testMetrics.LogLossReduction:#.###}");
|
||||||
Console.WriteLine($"*************************************************************************************************************");
|
Console.WriteLine($"*************************************************************************************************************");
|
||||||
Assert.That(testMetrics.MicroAccuracy, Is.AtLeast(0.95));
|
Assert.That(testMetrics.MicroAccuracy, Is.AtLeast(0.90));
|
||||||
Assert.That(testMetrics.MacroAccuracy, Is.AtLeast(0.95));
|
Assert.That(testMetrics.MacroAccuracy, Is.AtLeast(0.90));
|
||||||
Assert.That(testMetrics.LogLoss, Is.AtMost(0.2));
|
Assert.That(testMetrics.LogLoss, Is.AtMost(0.2));
|
||||||
Assert.That(testMetrics.LogLossReduction, Is.AtLeast(0.80));
|
Assert.That(testMetrics.LogLossReduction, Is.AtLeast(0.80));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user