Dear RARE-X team,
Could you please share the log of submission 9737831?
Thank you!
Best regards,
Larry
Created by Larry Le larryle2023 You?re welcome! Thank you Maria for your so quick response! Here you go:
Traceback (most recent call last):
File "/usr/local/bin/base_model.py", line 284, in
typer.run(main)
File "/usr/local/bin/base_model.py", line 265, in main
results = model.predict(testing_featuresx)
File "/usr/local/lib/python3.10/site-packages/xgboost/sklearn.py", line 1525, in predict
class_probs = super().predict(
File "/usr/local/lib/python3.10/site-packages/xgboost/sklearn.py", line 1114, in predict
predts = self.get_booster().inplace_predict(
File "/usr/local/lib/python3.10/site-packages/xgboost/core.py", line 2284, in inplace_predict
data, fns, _ = _transform_pandas_df(data, enable_categorical)
File "/usr/local/lib/python3.10/site-packages/xgboost/data.py", line 391, in _transform_pandas_df
_invalid_dataframe_dtype(data)
File "/usr/local/lib/python3.10/site-packages/xgboost/data.py", line 283, in _invalid_dataframe_dtype
raise ValueError(msg)
ValueError: DataFrame.dtypes for data must be int, float, bool or category. When categorical type is supplied, The experimental DMatrix parameter`enable_categorical` must be set to `True`. Invalid columns:entity:Loss_Survey_id: object, Loss_Relationship_To_Participant: object, Loss_Relationship_To_Participant_Other_Curated: object, Loss_Participant_Age_Passed_Away: object, Loss_Date_Participant_Month: object, Loss_Date_Participant_Day: object, Loss_Date_Participant_Year: object, Loss_Autopsy_YN: object, Loss_BioSamples_Given_YN: object, Loss_Connect_OtherData_RX: objec...