question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

set_scheduler does not work using VotingClassifier

See original GitHub issue

Hi, I have used torchensemble for classification on CIFAR-10, and it looks like there is a problem on set_scheduler.

I have followed the examples and used 5 resnet-18 models. The results on FusionClassifier are fine, over 95% on CIFAR-10. However, VotingClassifier only achieves a testing accuracy of 90%.

After looking at the source codes on VotingClassifier, I think the problem is related to set_scheduler, could you help fix it?

Sincerely

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
xuyxucommented, Jan 29, 2021

Hi @Alex-Medium, this issue has been fixed in PR #37. Feel free to open another issue if you have any problem 😉

1reaction
zzzzwjcommented, Jan 27, 2021

@Alex-Medium OK, I’ll check it soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

VotingClassifier .fit() does not trigger setting .model attribute ...
I see now that VotingClassifier is designed to work specifically with unfitted classifiers. Unfortunately this makes it difficult to use it with ......
Read more >
Voting Classifier causing casting Numpy Type Error
I've checked other answers, but they all refer to numpy data conversions. The error is happening inside the cross validation phase. I tried...
Read more >
Ensembling with VotingClassifier - Cross Validated
If you do not set a SEED or 'random_state' to the classifier definition then it results in different accuracies each time you run.Try,....
Read more >
sklearn.ensemble.VotingClassifier
An estimator can be set to 'drop' using set_params . Changed in version 0.21: 'drop' is accepted. Using None was deprecated in 0.22...
Read more >
Enhancing the performance measures by Voting Classifier in ML
The panel having discussion and voting. Same thing you can do with a machine learning classification problems. Suppose you have trained a few ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found