Skip to content

Re-enabling disabled tests due to wrong nrBins value - #4869

Merged
mstfbl merged 1 commit into
dotnet:masterfrom
mstfbl:nrBinsFix
Feb 21, 2020
Merged

Re-enabling disabled tests due to wrong nrBins value#4869
mstfbl merged 1 commit into
dotnet:masterfrom
mstfbl:nrBinsFix

Conversation

@mstfbl

@mstfbl mstfbl commented Feb 21, 2020

Copy link
Copy Markdown
Contributor

Fixed case with erroneous SafeTrainingAndModelBuffer.nrBins value, where if _threads = 1, nrBins should also equal 1. This way, when thread count is 1, there is no need to divide the training matrix into multiple blocks as 1 will do fine. As a result, we can re-enable the following disabled tests:

  • MatrixFactorizationSimpleTrainAndPredict
  • MulticlassTreeFeaturizedLRTest
  • TestOvaMacroWithUncalibratedLearner
  • EntryPointPipelineEnsembleGetSummary

@mstfbl
mstfbl marked this pull request as ready for review February 21, 2020 18:16
@mstfbl
mstfbl requested a review from a team as a code owner February 21, 2020 18:16
@mstfbl mstfbl self-assigned this Feb 21, 2020

@harishsk harishsk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@mstfbl
mstfbl merged commit fbd1b93 into dotnet:master Feb 21, 2020
Comment thread test/Microsoft.ML.Core.Tests/UnitTests/TestEntryPoints.cs
@sharwell

Copy link
Copy Markdown
Contributor

Glad this worked even if it was only a partial fix!

@ghost ghost locked as resolved and limited conversation to collaborators Mar 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants