{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"pygments_lexer":"ipython3","nbconvert_exporter":"python","version":"3.6.4","file_extension":".py","codemirror_mode":{"name":"ipython","version":3},"name":"python","mimetype":"text/x-python"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"markdown","source":"Submission Scoring is failing. \nBut don't understanding where is the problem","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19"}},{"cell_type":"markdown","source":"I have created like","metadata":{}},{"cell_type":"markdown","source":"```python\nss = pd.DataFrame(prediction_ids)\n        .assign(cancer = lambda df:probs)\n        .rename(columns={0:'prediction_id'})\n        .groupby('prediction_id', as_index=False).mean()\n         .sort_index()\n            ```","metadata":{}},{"cell_type":"markdown","source":"```python\nss.to_csv('submission.csv',index=False)\n```","metadata":{"execution":{"iopub.status.busy":"2023-01-06T13:57:04.410834Z","iopub.execute_input":"2023-01-06T13:57:04.411596Z","iopub.status.idle":"2023-01-06T13:57:04.447699Z","shell.execute_reply.started":"2023-01-06T13:57:04.411214Z","shell.execute_reply":"2023-01-06T13:57:04.445881Z"}}},{"cell_type":"markdown","source":"- Could anyone please help me, what I am doing wrong.\n- [Here](https://www.kaggle.com/code/hasangoni/offline-inference) is my notebook","metadata":{}},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}