3loy3loy
02/28/2024, 8:28 AMdef xgboost_monotonic_reporting_(
X_train,
y_train,
y_train_pred,
X_test,
y_test,
y_test_pred,
min_energy_cumsum_eval,
max_energy_cumsum_eval,
):
return xgboost_monotonic_reporting(
"XGBoost Monotonic",
X_train,
y_train,
y_train_pred,
X_test,
y_test,
y_test_pred,
min_energy_cumsum_eval,
max_energy_cumsum_eval,
)
2. How can I check the validity of my parameters? I have some parameters that must be 'value1' or 'value2' and otherwise rise an error, but i am not sure of where to insert this check
Thanks for your help!datajoely
02/28/2024, 9:31 AMenum
for this?
https://docs.python.org/3/library/enum.htmldatajoely
02/28/2024, 9:31 AM3loy3loy
02/28/2024, 10:37 AMdatajoely
02/28/2024, 11:00 AM3loy3loy
02/28/2024, 11:07 AM