{"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":"### Simple Baseline model with only 1 as value in predictions\n\nPublic LB Score : 0.04","metadata":{}},{"cell_type":"code","source":"import numpy as np\nimport pandas as pd","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2022-12-28T16:13:07.712189Z","iopub.execute_input":"2022-12-28T16:13:07.712637Z","iopub.status.idle":"2022-12-28T16:13:07.718688Z","shell.execute_reply.started":"2022-12-28T16:13:07.7126Z","shell.execute_reply":"2022-12-28T16:13:07.717436Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"test_df = pd.read_csv(\"/kaggle/input/rsna-breast-cancer-detection/test.csv\")\ntest_df.head()","metadata":{"execution":{"iopub.status.busy":"2022-12-28T16:13:07.723408Z","iopub.execute_input":"2022-12-28T16:13:07.723791Z","iopub.status.idle":"2022-12-28T16:13:07.744642Z","shell.execute_reply.started":"2022-12-28T16:13:07.723758Z","shell.execute_reply":"2022-12-28T16:13:07.74348Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sub_df = pd.DataFrame()\nsub_df['prediction_id'] = test_df['prediction_id'].unique()\nsub_df['cancer'] = np.full((sub_df.shape[0],),1,dtype=float)\nsub_df.head()","metadata":{"execution":{"iopub.status.busy":"2022-12-28T16:22:06.119837Z","iopub.execute_input":"2022-12-28T16:22:06.120352Z","iopub.status.idle":"2022-12-28T16:22:06.135846Z","shell.execute_reply.started":"2022-12-28T16:22:06.120316Z","shell.execute_reply":"2022-12-28T16:22:06.134946Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"# sub_df.head()\nsub_df.to_csv('submission.csv', index=False)","metadata":{"execution":{"iopub.status.busy":"2022-12-28T16:13:07.757507Z","iopub.execute_input":"2022-12-28T16:13:07.757862Z","iopub.status.idle":"2022-12-28T16:13:07.771134Z","shell.execute_reply.started":"2022-12-28T16:13:07.757827Z","shell.execute_reply":"2022-12-28T16:13:07.769823Z"},"trusted":true},"execution_count":null,"outputs":[]}]}