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

Allow empty datasets in survival:aft objective and aft-nloglik metric #6139

Closed
hcho3 opened this issue Sep 21, 2020 · 3 comments · Fixed by #6379
Closed

Allow empty datasets in survival:aft objective and aft-nloglik metric #6139

hcho3 opened this issue Sep 21, 2020 · 3 comments · Fixed by #6379
Assignees
Labels

Comments

@hcho3
Copy link
Collaborator

hcho3 commented Sep 21, 2020

Currently, survival:aft objective and aft-nloglik metric throws an error when an empty data matrix is passed in. Empty data matrix is a common occurrence when XGBoost is used with Dask, due to quirks in how Dask partitions the data matrix.

The AFT objective and metric should handle empty data matrices like other element-wise objective and metrics, such as reg:squarederror and logloss.

cc @trivialfis

@geetikasharma3119
Copy link

Hi @hcho3
I am trying to use xgboost's dask functionality with the survival AFT model with little success. Could you please point me to a toy example that demonstrates how to use dask for the AFT survival model?

@trivialfis
Copy link
Member

trivialfis commented Apr 13, 2021

@geetikasharma3119 Could you please open an issue and share the issues you have encountered? This way we know how to add documents and demos.

@hcho3
Copy link
Collaborator Author

hcho3 commented Apr 13, 2021

@geetikasharma3119 I opened #6853 to add a demo for fitting AFT survival model with Dask.

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

Successfully merging a pull request may close this issue.

3 participants