Hi organizer,
I ran the submission ID 9725933 and log indicates the error is "Missing required input parameter 'infile'" But not able to figure out the cause behind this
However when i submitted it for fast lane it didn't show any error.
Kindly help.
Created by HMS-Beagle Hello,
For the ID - 9725955 below is the error log -
```
Traceback (most recent call last):
File "/model_code/run_model.py", line 98, in
main()
File "/model_code/run_model.py", line 84, in main
pt_predict[f'was_{args.task}'] = model.predict(pt1[cols])
File "/usr/local/lib/python3.7/site-packages/pandas/core/frame.py", line 3464, in __getitem__
indexer = self.loc._get_listlike_indexer(key, axis=1)[1]
File "/usr/local/lib/python3.7/site-packages/pandas/core/indexing.py", line 1314, in _get_listlike_indexer
self._validate_read_indexer(keyarr, indexer, axis)
File "/usr/local/lib/python3.7/site-packages/pandas/core/indexing.py", line 1377, in _validate_read_indexer
raise KeyError(f"{not_found} not in index")
KeyError: "['project_A', 'project_B', 'project_C', 'project_D', 'project_E', 'project_F', 'project_G', 'project_H', 'project_I', 'project_J'] not in index"
```
Hope this helps! Good luck with the submission.
Thanks
Aarthi Thank you Aarthi for the reply. I resubmitted after resolving the dimension mismatch issue with submission id **9725955**... Again log indicates that error is "Missing required input parameter 'infile'" ..
Regards,
Manoj Hello,
Below is the error for the ID - 9725933
```
Traceback (most recent call last):
File "/model_code/run_model.py", line 91, in
main()
File "/model_code/run_model.py", line 77, in main
pt_predict[f'was_{args.task}'] = model.predict(pt1)
File "/usr/local/lib/python3.7/site-packages/sklearn/linear_model/_base.py", line 425, in predict
scores = self.decision_function(X)
File "/usr/local/lib/python3.7/site-packages/sklearn/linear_model/_base.py", line 407, in decision_function
X = self._validate_data(X, accept_sparse="csr", reset=False)
File "/usr/local/lib/python3.7/site-packages/sklearn/base.py", line 585, in _validate_data
self._check_n_features(X, reset=reset)
File "/usr/local/lib/python3.7/site-packages/sklearn/base.py", line 401, in _check_n_features
f"X has {n_features} features, but {self.__class__.__name__} "
ValueError: X has 1873 features, but LogisticRegression is expecting 1881 features as input.
```
Hope this helps!
Thanks
Aarthi
Drop files to upload
Invalid submission but passed in fast lane page is loading…