You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-I have a case-cohort data, which need to give each cases and non-cases corresponding weights to meet the disease rate in a natural population.
-Normally, in a AFT model, as in lifelines: WeibullAFTFitter, the 'weight_col' can let me input weights.
-In the constructions of XGBSEStackedWeibull in https://loft-br.github.io/xgboost-survival-embeddings/modules/stacked_weibull.html, the weilbull_params are the same as lifelines: WeibullAFTFitter, but when I use the code below to put weight_name in weibull_params. I got the error. It seems the 'weight_col' in WeibullAFTFitter cannot work in XGBSE.
Hi, everyone there,
Problem description
-I have a case-cohort data, which need to give each cases and non-cases corresponding weights to meet the disease rate in a natural population.
-Normally, in a AFT model, as in lifelines: WeibullAFTFitter, the 'weight_col' can let me input weights.
-In the constructions of XGBSEStackedWeibull in https://loft-br.github.io/xgboost-survival-embeddings/modules/stacked_weibull.html, the weilbull_params are the same as lifelines: WeibullAFTFitter, but when I use the code below to put weight_name in weibull_params. I got the error. It seems the 'weight_col' in WeibullAFTFitter cannot work in XGBSE.
Code sample
Error
Expected behavior
Got the individual-weighted XGBoost-AFT model
Possible solutions
The text was updated successfully, but these errors were encountered: