Hello @vchung ,
Can you let me know what caused 9761203 to fail?
I was able to run the image locally and generate the predictions.csv file successfully (with mounting input and output directories).
Thank you
- Erica
Created by erica.chen Hi @erica.chen ,
Here is the traceback received for subID 9761203:
```
Traceback (most recent call last):
File "/home/user/src/python/make_predictions.py", line 161, in
observation_prediction_df[f'predicted {curr_col}'] = curr_model.predict(X[training_cols])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.local/lib/python3.12/site-packages/sklearn/ensemble/_forest.py", line 903, in predict
proba = self.predict_proba(X)
^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.local/lib/python3.12/site-packages/sklearn/ensemble/_forest.py", line 945, in predict_proba
X = self._validate_X_predict(X)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.local/lib/python3.12/site-packages/sklearn/ensemble/_forest.py", line 637, in _validate_X_predict
X = validate_data(
^^^^^^^^^^^^^^
File "/home/user/.local/lib/python3.12/site-packages/sklearn/utils/validation.py", line 2929, in validate_data
_check_feature_names(_estimator, X, reset=reset)
File "/home/user/.local/lib/python3.12/site-packages/sklearn/utils/validation.py", line 2787, in _check_feature_names
raise ValueError(message)
ValueError: The feature names should match those that were passed during fit.
Feature names seen at fit time, yet now missing:
- APOE Genotype_2/2
- APOE Genotype_2/4
```
Hope this helps!