Skip to content

Conversation

@rcurtin
Copy link
Member

@rcurtin rcurtin commented Jan 3, 2024

This allows multiple trials for the DecisionTreeRegressor tests. I found them to be failing at the rate of about one every hundred times. With these fixes, I saw no failures at all with 1000 different random seeds.

I also combined one of the tests that had both an fmat and a mat version into a single test using TEMPLATE_TEST_CASE(). That required some slight changes to some of the test tools.

Copy link
Member

@shrit shrit left a comment

Choose a reason for hiding this comment

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

Looks good to me, and the tests are passing

Copy link

@mlpack-bot mlpack-bot bot left a comment

Choose a reason for hiding this comment

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

Second approval provided automatically after 24 hours. 👍

@rcurtin rcurtin merged commit 749edb8 into mlpack:master Jan 6, 2024
@rcurtin rcurtin deleted the decision_tree_regressor_stability_test_fixes branch January 6, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants