Skip to content
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

Question on min_val in split_candidate_manager #3

Closed
erchiw opened this issue Jun 23, 2023 · 2 comments
Closed

Question on min_val in split_candidate_manager #3

erchiw opened this issue Jun 23, 2023 · 2 comments

Comments

@erchiw
Copy link

erchiw commented Jun 23, 2023

Hello Samuel,

I have a question in /models/gbdt/components/split_candidate_manager.py

At line 112, why flip the sign if min_val > 0? I thought the sketch should be operated on the interval [min_val, max_val]?

Thank you!

@Samuel-Maddock
Copy link
Owner

Samuel-Maddock commented Jun 23, 2023

Hi Erchi, thanks for this issue!

At line 112, why flip the sign if min_val > 0? I thought the sketch should be operated on the interval [min_val, max_val]?

Great point, this is indeed a bug leftover from old code that experimented with giving PrivateGBDT incorrect feature ranges to study how the performance behaves.

I have verified that this has a minimal effect on accuracy for the adult and Higgs dataset. I have fixed this as of 37f7117.

@erchiw
Copy link
Author

erchiw commented Jun 26, 2023

Thank you a lot for checking this and verifying the results!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants