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

"UnbalancedSets" not available on FastTree in v0.10 #2496

Closed
fwaris opened this Issue Feb 11, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@fwaris
Copy link

fwaris commented Feb 11, 2019

Somehow the ability to set UnbalancedSets flag on FastTree (at least) is gone from v 0.10 API.

It was available (via a delegate) in v0.90.

@Ivanidzo4ka

This comment has been minimized.

Copy link
Member

Ivanidzo4ka commented Feb 11, 2019

We have two constructors for trainers, one with "most important options" and one with ALL options.
we moved UnbalancedSets from "most important" constructor, but you can still access it via second constructor:

mlContext.BinaryClassification.Trainers.FastTree(new Trainers.FastTree.FastTreeBinaryClassificationTrainer.Options()
                {
                    UnbalancedSets=true,
                    AllOtherOptionsYouWantToSet....
                }
@fwaris

This comment has been minimized.

Copy link
Author

fwaris commented Feb 11, 2019

got it. Thanks!

@fwaris fwaris closed this Feb 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment