-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Done() call in BaseTestBaseline.Cleanup and added related fixes #4823
Changes from all commits
3a37863
bc5255a
3d9a630
073f247
20aef91
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -791,6 +791,7 @@ public void TestEnsembleCombiner() | |
}; | ||
|
||
CombineAndTestEnsembles(dataView, "pe", "oc=average", PredictionKind.BinaryClassification, predictors); | ||
Done(); | ||
} | ||
|
||
[X64Fact("x86 fails. Associated GitHubIssue: https://github.com/dotnet/machinelearning/issues/1216")] | ||
|
@@ -941,7 +942,7 @@ private void CombineAndTestEnsembles(IDataView idv, string name, string options, | |
predGetters[i](ref preds[i]); | ||
} | ||
if (scores.All(s => !float.IsNaN(s))) | ||
CompareNumbersWithTolerance(score, scores.Sum() / predCount); | ||
CompareNumbersWithTolerance(score, scores.Sum() / predCount, digitsOfPrecision: 5); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
why we use less precise here? #Resolved There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The default is 7 digits. All tests are not equally precise. In reply to: 377899328 [](ancestors = 377899328) |
||
for (int i = 0; i < predCount; i++) | ||
Assert.Equal(vectorScore.Length, vectorScores[i].Length); | ||
for (int i = 0; i < vectorScore.Length; i++) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -714,6 +714,7 @@ public void LdaWorkout() | |
} | ||
|
||
[Fact] | ||
[Trait("Category", "SkipInCI")] | ||
public void LdaWorkoutEstimatorCore() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I haven't see this fail in full build and CI build in last 14 days, this should be low fail rate tests and I think it is okay to left this one enabled, if we see this fails often later we can go back to this one |
||
{ | ||
var ml = new MLContext(1); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FixedPlattCalibratorTrainer.Arguments
also has aSlope
field that defaults to 1. #Resolved