Skip to content

remove num_class hyperparameter #146

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

Merged
merged 1 commit into from
Dec 14, 2017
Merged

remove num_class hyperparameter #146

merged 1 commit into from
Dec 14, 2017

Conversation

yash1
Copy link
Contributor

@yash1 yash1 commented Dec 14, 2017

num_class=1 gives error for binary classifcation task on sagemaker. Training does not complete. Removing it runs the training job successfully.

num_class=1 gives error for binary classifcation task on sagemaker. Removing it runs the training job sucessfully.
Copy link
Contributor

@djarpin djarpin left a comment

Choose a reason for hiding this comment

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

XGBoost would normally ignore this parameter (which is why it never previously mattered that it was set incorrectly in the first place). We've recently added hyperparameter checks though, so thanks a lot for catching this and updating!

@djarpin djarpin merged commit 866a49c into aws:master Dec 14, 2017
atqy pushed a commit to atqy/amazon-sagemaker-examples that referenced this pull request Aug 16, 2022
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

Successfully merging this pull request may close these issues.

2 participants