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

SNOW-1679397: Missing eval_set in XGBoost and in other estimators #117

Open
andreidore opened this issue Sep 24, 2024 · 1 comment
Open

Comments

@andreidore
Copy link

Hi

In the XGBoost documentation (https://docs.snowflake.com/en/developer-guide/snowpark-ml/reference/latest/api/modeling/snowflake.ml.modeling.xgboost.XGBClassifier#snowflake.ml.modeling.xgboost.XGBClassifier), you specified that it is possible to pass an eval_set in the fit method to enable setting early_stopping_rounds. However, the fit method only allows a DataFrame object (the training DataFrame).

How is it possible to pass the eval_set?

Thanks

@github-actions github-actions bot changed the title Missing eval_set in XGBoost and in other estimators SNOW-1679397: Missing eval_set in XGBoost and in other estimators Sep 24, 2024
@sfc-gh-xjiang
Copy link

Hello,

Thank you for bringing this to our attention. Currently, the eval_set parameter is not supported in the fit method of the XGBClassifier in the Snowpark ML modeling library. We apologize for any confusion the documentation may have caused.

We appreciate your feedback and will work on updating the documentation to reflect the current capabilities of the library. Supporting eval_set and early stopping is an important feature, and we will consider it for future releases.

Please let us know if you have any other questions or need further assistance.

Best regards,
Xinyi

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