Hello,
I got a submission that passed fast lane test but failed in task 1 (ID: 9726461), could someone please help me check the error message of the submission? Thank you!
Best,
Jiaming Yao
Created by yaojm @yaojm ,
Submission ID 9726515 generated a predictions file that was incorrectly formatted. This validation error should have been returned in the email - apologies if you did not receive it! (We recommend checking the spam folder, just in case.)
In particular, the validation error is:
```python
Invalid column names and/or types: Usecols do not match columns, columns expected but not found: ['was_early_preterm'].
Expecting: {'participant': , 'was_early_preterm': , 'probability': }.
```
Because you are submitting to Task 2, the expected column should be named `was_early_preterm` rather than `was_preterm`.
Hope this helps!
EDIT: typo fix @vchung
Thank you! Could you also check on submission id:9726515? Many thanks!
Jiaming Yao Hi @yaojm ,
Submission ID 9726461 received the following error:
```python
Traceback (most recent call last):
File "/submission/run_model_v11.py", line 216, in
main()
File "/submission/run_model_v11.py", line 199, in main
pred = model_pt.predict_proba(X_test)[:,1] # prob of preterm birth
File "/usr/local/lib/python3.10/site-packages/sklearn/ensemble/_forest.py", line 874, in predict_proba
X = self._validate_X_predict(X)
File "/usr/local/lib/python3.10/site-packages/sklearn/ensemble/_forest.py", line 605, in _validate_X_predict
X = self._validate_data(X, dtype=DTYPE, accept_sparse="csr", reset=False)
File "/usr/local/lib/python3.10/site-packages/sklearn/base.py", line 600, in _validate_data
self._check_n_features(X, reset=reset)
File "/usr/local/lib/python3.10/site-packages/sklearn/base.py", line 400, in _check_n_features
raise ValueError(
ValueError: X has 9764 features, but ExtraTreesClassifier is expecting 9743 features as input.
```