Skip to content

Conversation

yaeldekel
Copy link

This is needed for using ensembles with non-default values for the sub-trainers.
Fixes #3709 .

@yaeldekel yaeldekel requested review from Ivanidzo4ka and artidoro May 30, 2019 22:58
var pa = new PredictorAndArgs(new SubComponent("WeightedEnsembleMulticlass", "bp=mlr{t-} nm=20 st=BootstrapSelector{} tp=-"), "WE-Bootstrap");
Run_TrainTest(pa, TestDatasets.iris);
Done();
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess that these tests were taken from TLC. Did you have to regenerate the results or were they the same?

Copy link
Author

Choose a reason for hiding this comment

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

Good question. I regenerated all the results, but I went back and compared them to the old baselines, and all but one were identical. The different one was for the CV case of the EnsemblesDefaultTest. The differences in the scores were something like this:

7.057208
-0.569736
-3.265584
-2.8438797
-3.42607021
-3.27301645
4.12974262
3.61101723
3.70798635
0.8509629

(the new scores) vs.:

7.346347
-0.308689833
-3.056211
-2.46506
-3.10131264
-2.99300337
4.336238
3.53593183
4.37107658
0.862161636

Do you think we can attribute these changes to a random seed change? Or should we investigate this further?


In reply to: 290953192 [](ancestors = 290953192)

Copy link
Contributor

@artidoro artidoro Jun 10, 2019

Choose a reason for hiding this comment

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

I think so! They look quite similar.


In reply to: 292166898 [](ancestors = 292166898,290953192)

@yaeldekel yaeldekel closed this Jun 10, 2019
@yaeldekel yaeldekel reopened this Jun 10, 2019
Copy link
Contributor

@artidoro artidoro left a comment

Choose a reason for hiding this comment

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

:shipit:

@codemzs codemzs requested review from codemzs, ganik and wschin and removed request for Ivanidzo4ka June 17, 2019 17:14
Copy link
Member

@codemzs codemzs left a comment

Choose a reason for hiding this comment

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

:shipit:

@codemzs codemzs merged commit 4b0fa53 into dotnet:master Jul 1, 2019
Dmitry-A pushed a commit to Dmitry-A/machinelearning that referenced this pull request Jul 24, 2019
…Trainers (dotnet#3796)

* Change ensembles trainer to work with ITrainerEstimators instead of ITrainers

* Use NumberParseOptions.UseSingle when comparing baselines

* Decrease number of digits of precision

* Decrease number of digits of precision in some tests

* Disable some tests on netcoreapp3.0
@ghost ghost locked as resolved and limited conversation to collaborators Mar 21, 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.

Ensembles don't work

4 participants