Hi, I got invalid submissions (9724264, 9724269). I verified these submissions both locally and via fast lane. Can I get more logs? Thanks.

Created by J Wang jwang134
Hello, Below is the error for log 9724313 - Traceback (most recent call last): File "./prediction_preterm.py", line 56, in ytest_pred = model.predict_proba(xtest)[:, 1] File "/usr/local/lib/python3.7/site-packages/sklearn/ensemble/_forest.py", line 656, in predict_proba X = self._validate_X_predict(X) File "/usr/local/lib/python3.7/site-packages/sklearn/ensemble/_forest.py", line 412, in _validate_X_predict return self.estimators_[0]._validate_X_predict(X, check_input=True) File "/usr/local/lib/python3.7/site-packages/sklearn/tree/_classes.py", line 391, in _validate_X_predict % (self.n_features_, n_features)) ValueError: Number of features of the model must match the input. Model n_features is 2265 and input n_features is 2026 Hope this helps! Thanks Aarthi
@aarthikr Thanks. I have fixed the bugs mentioned above, and made a third submission with submission id 9724313. Can I have logs for submission id 9724313? Thanks.
Hello, For both submission IDs 9724264 and 9724269, the following error was received: raceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3361, in get_loc return self._engine.get_loc(casted_key) File "pandas/libs/index.pyx", line 76, in pandas.libs.index.IndexEngine.get_loc File "pandas/libs/index.pyx", line 108, in pandas.libs.index.IndexEngine.get_loc File "pandas/libs/hashtable_class_helper.pxi", line 5198, in pandas.libs.hashtable.PyObjectHashTable.get_item File "pandas/libs/hashtable_class_helper.pxi", line 5206, in pandas.libs.hashtable.PyObjectHashTable.get_item KeyError: 'was_preterm' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "./prediction_preterm.py", line 18, in [removed] metadata["was_preterm"] = metadata["was_preterm"].astype(float) File "/usr/local/lib/python3.7/site-packages/pandas/core/frame.py", line 3458, in getitem indexer = self.columns.get_loc(key) File "/usr/local/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3363, in get_loc raise KeyError(key) from err KeyError: 'was_preterm' Hope this helps! Best, Aarthi
@aarthikr Thanks for your reply. Can you please check the submission 9724313? Thanks.
Hello, For the error log 9724264 log: Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3361, in get_loc return self._engine.get_loc(casted_key) File "pandas/_libs/index.pyx", line 76, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/index.pyx", line 108, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 5198, in pandas._libs.hashtable.PyObjectHashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 5206, in pandas._libs.hashtable.PyObjectHashTable.get_item KeyError: 'was_preterm' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "./prediction_preterm.py", line 18, in metadata["was_preterm"] = metadata["was_preterm"].astype(float) File "/usr/local/lib/python3.7/site-packages/pandas/core/frame.py", line 3458, in __getitem__ indexer = self.columns.get_loc(key) File "/usr/local/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3363, in get_loc raise KeyError(key) from err KeyError: 'was_preterm' Hope this helps! Best, Aarthi

Invalid submission page is loading…