{"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":"code","source":"import pandas as pd\t\nimport numpy as np \t\nimport seaborn as sns\t\nfrom sklearn import preprocessing\t\nimport matplotlib.pyplot as plt\t\n%matplotlib inline\t","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2023-04-15T16:02:20.715528Z","iopub.execute_input":"2023-04-15T16:02:20.716222Z","iopub.status.idle":"2023-04-15T16:02:20.726068Z","shell.execute_reply.started":"2023-04-15T16:02:20.716163Z","shell.execute_reply":"2023-04-15T16:02:20.724247Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"SS=pd.read_csv('/kaggle/input/rsna-breast-cancer-detection/sample_submission.csv')","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:20.729277Z","iopub.execute_input":"2023-04-15T16:02:20.73033Z","iopub.status.idle":"2023-04-15T16:02:20.743575Z","shell.execute_reply.started":"2023-04-15T16:02:20.730253Z","shell.execute_reply":"2023-04-15T16:02:20.742053Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"TE=pd.read_csv('/kaggle/input/rsna-breast-cancer-detection/test.csv')","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:20.74709Z","iopub.execute_input":"2023-04-15T16:02:20.747759Z","iopub.status.idle":"2023-04-15T16:02:20.760607Z","shell.execute_reply.started":"2023-04-15T16:02:20.747705Z","shell.execute_reply":"2023-04-15T16:02:20.759041Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"TR=pd.read_csv('/kaggle/input/rsna-breast-cancer-detection/train.csv')","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:20.762674Z","iopub.execute_input":"2023-04-15T16:02:20.764167Z","iopub.status.idle":"2023-04-15T16:02:20.879828Z","shell.execute_reply.started":"2023-04-15T16:02:20.764108Z","shell.execute_reply":"2023-04-15T16:02:20.87883Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"print (SS)","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:20.883075Z","iopub.execute_input":"2023-04-15T16:02:20.883987Z","iopub.status.idle":"2023-04-15T16:02:20.89417Z","shell.execute_reply.started":"2023-04-15T16:02:20.88393Z","shell.execute_reply":"2023-04-15T16:02:20.892829Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"print (TE)","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:20.896338Z","iopub.execute_input":"2023-04-15T16:02:20.89719Z","iopub.status.idle":"2023-04-15T16:02:20.912547Z","shell.execute_reply.started":"2023-04-15T16:02:20.897128Z","shell.execute_reply":"2023-04-15T16:02:20.910641Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"print (TR)","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:20.914781Z","iopub.execute_input":"2023-04-15T16:02:20.915699Z","iopub.status.idle":"2023-04-15T16:02:20.939279Z","shell.execute_reply.started":"2023-04-15T16:02:20.915644Z","shell.execute_reply":"2023-04-15T16:02:20.937696Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"SS.head()","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:20.941611Z","iopub.execute_input":"2023-04-15T16:02:20.942263Z","iopub.status.idle":"2023-04-15T16:02:20.958371Z","shell.execute_reply.started":"2023-04-15T16:02:20.942209Z","shell.execute_reply":"2023-04-15T16:02:20.95691Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"TE.head()","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:20.96033Z","iopub.execute_input":"2023-04-15T16:02:20.961639Z","iopub.status.idle":"2023-04-15T16:02:20.982852Z","shell.execute_reply.started":"2023-04-15T16:02:20.961567Z","shell.execute_reply":"2023-04-15T16:02:20.980854Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"TR.head()","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:20.989078Z","iopub.execute_input":"2023-04-15T16:02:20.990106Z","iopub.status.idle":"2023-04-15T16:02:21.013599Z","shell.execute_reply.started":"2023-04-15T16:02:20.990053Z","shell.execute_reply":"2023-04-15T16:02:21.011739Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"SS.shape","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.015762Z","iopub.execute_input":"2023-04-15T16:02:21.016317Z","iopub.status.idle":"2023-04-15T16:02:21.028012Z","shell.execute_reply.started":"2023-04-15T16:02:21.016256Z","shell.execute_reply":"2023-04-15T16:02:21.026282Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"TE.shape","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.031119Z","iopub.execute_input":"2023-04-15T16:02:21.031884Z","iopub.status.idle":"2023-04-15T16:02:21.043467Z","shell.execute_reply.started":"2023-04-15T16:02:21.031812Z","shell.execute_reply":"2023-04-15T16:02:21.041543Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"TR.shape","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.046412Z","iopub.execute_input":"2023-04-15T16:02:21.046977Z","iopub.status.idle":"2023-04-15T16:02:21.057152Z","shell.execute_reply.started":"2023-04-15T16:02:21.046925Z","shell.execute_reply":"2023-04-15T16:02:21.055361Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"SS.dtypes","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.05936Z","iopub.execute_input":"2023-04-15T16:02:21.059894Z","iopub.status.idle":"2023-04-15T16:02:21.074352Z","shell.execute_reply.started":"2023-04-15T16:02:21.059846Z","shell.execute_reply":"2023-04-15T16:02:21.072587Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"TE.dtypes","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.076739Z","iopub.execute_input":"2023-04-15T16:02:21.077173Z","iopub.status.idle":"2023-04-15T16:02:21.09133Z","shell.execute_reply.started":"2023-04-15T16:02:21.077138Z","shell.execute_reply":"2023-04-15T16:02:21.089254Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"TR.dtypes","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.094231Z","iopub.execute_input":"2023-04-15T16:02:21.095696Z","iopub.status.idle":"2023-04-15T16:02:21.106792Z","shell.execute_reply.started":"2023-04-15T16:02:21.095612Z","shell.execute_reply":"2023-04-15T16:02:21.105605Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"SS.isnull().sum()","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.108109Z","iopub.execute_input":"2023-04-15T16:02:21.10884Z","iopub.status.idle":"2023-04-15T16:02:21.124897Z","shell.execute_reply.started":"2023-04-15T16:02:21.108792Z","shell.execute_reply":"2023-04-15T16:02:21.123355Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"TE.isnull().sum()","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.126794Z","iopub.execute_input":"2023-04-15T16:02:21.127225Z","iopub.status.idle":"2023-04-15T16:02:21.140478Z","shell.execute_reply.started":"2023-04-15T16:02:21.127181Z","shell.execute_reply":"2023-04-15T16:02:21.139397Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"TR.isnull().sum()","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.141784Z","iopub.execute_input":"2023-04-15T16:02:21.142179Z","iopub.status.idle":"2023-04-15T16:02:21.171409Z","shell.execute_reply.started":"2023-04-15T16:02:21.14214Z","shell.execute_reply":"2023-04-15T16:02:21.169806Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"SS.info()","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.173879Z","iopub.execute_input":"2023-04-15T16:02:21.174774Z","iopub.status.idle":"2023-04-15T16:02:21.191634Z","shell.execute_reply.started":"2023-04-15T16:02:21.174731Z","shell.execute_reply":"2023-04-15T16:02:21.189373Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"TE.info()","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.193461Z","iopub.execute_input":"2023-04-15T16:02:21.193968Z","iopub.status.idle":"2023-04-15T16:02:21.21526Z","shell.execute_reply.started":"2023-04-15T16:02:21.193927Z","shell.execute_reply":"2023-04-15T16:02:21.213382Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"TR.info()","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.222527Z","iopub.execute_input":"2023-04-15T16:02:21.222987Z","iopub.status.idle":"2023-04-15T16:02:21.250985Z","shell.execute_reply.started":"2023-04-15T16:02:21.222953Z","shell.execute_reply":"2023-04-15T16:02:21.249367Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"SS.describe()","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.253327Z","iopub.execute_input":"2023-04-15T16:02:21.253875Z","iopub.status.idle":"2023-04-15T16:02:21.275228Z","shell.execute_reply.started":"2023-04-15T16:02:21.25382Z","shell.execute_reply":"2023-04-15T16:02:21.273211Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"TE.describe()","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.278381Z","iopub.execute_input":"2023-04-15T16:02:21.278946Z","iopub.status.idle":"2023-04-15T16:02:21.324468Z","shell.execute_reply.started":"2023-04-15T16:02:21.278898Z","shell.execute_reply":"2023-04-15T16:02:21.322695Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"TR.describe()","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.32754Z","iopub.execute_input":"2023-04-15T16:02:21.328612Z","iopub.status.idle":"2023-04-15T16:02:21.390809Z","shell.execute_reply.started":"2023-04-15T16:02:21.32854Z","shell.execute_reply":"2023-04-15T16:02:21.389601Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"CS=SS.corr()\nprint(CS)","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.392814Z","iopub.execute_input":"2023-04-15T16:02:21.393262Z","iopub.status.idle":"2023-04-15T16:02:21.400694Z","shell.execute_reply.started":"2023-04-15T16:02:21.393219Z","shell.execute_reply":"2023-04-15T16:02:21.399621Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"CE=TE.corr()\nprint(CE)","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.402068Z","iopub.execute_input":"2023-04-15T16:02:21.40243Z","iopub.status.idle":"2023-04-15T16:02:21.421203Z","shell.execute_reply.started":"2023-04-15T16:02:21.402399Z","shell.execute_reply":"2023-04-15T16:02:21.419736Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"CR=TR.corr()\nprint(CR)","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.423459Z","iopub.execute_input":"2023-04-15T16:02:21.423835Z","iopub.status.idle":"2023-04-15T16:02:21.459943Z","shell.execute_reply.started":"2023-04-15T16:02:21.423801Z","shell.execute_reply":"2023-04-15T16:02:21.458669Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sns.heatmap(CS)","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.461698Z","iopub.execute_input":"2023-04-15T16:02:21.462057Z","iopub.status.idle":"2023-04-15T16:02:21.735416Z","shell.execute_reply.started":"2023-04-15T16:02:21.462024Z","shell.execute_reply":"2023-04-15T16:02:21.73437Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sns.heatmap(CE)","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:21.737321Z","iopub.execute_input":"2023-04-15T16:02:21.738193Z","iopub.status.idle":"2023-04-15T16:02:22.083931Z","shell.execute_reply.started":"2023-04-15T16:02:21.738144Z","shell.execute_reply":"2023-04-15T16:02:22.082411Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sns.heatmap(CR)","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:22.085549Z","iopub.execute_input":"2023-04-15T16:02:22.085968Z","iopub.status.idle":"2023-04-15T16:02:22.51614Z","shell.execute_reply.started":"2023-04-15T16:02:22.085922Z","shell.execute_reply":"2023-04-15T16:02:22.514884Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sns.heatmap(CS,annot=True)","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:22.518104Z","iopub.execute_input":"2023-04-15T16:02:22.519624Z","iopub.status.idle":"2023-04-15T16:02:22.816028Z","shell.execute_reply.started":"2023-04-15T16:02:22.519564Z","shell.execute_reply":"2023-04-15T16:02:22.814518Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sns.heatmap(CE,annot=True)","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:22.817952Z","iopub.execute_input":"2023-04-15T16:02:22.819038Z","iopub.status.idle":"2023-04-15T16:02:23.210003Z","shell.execute_reply.started":"2023-04-15T16:02:22.818974Z","shell.execute_reply":"2023-04-15T16:02:23.208865Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sns.heatmap(CR,annot=True)","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:23.215417Z","iopub.execute_input":"2023-04-15T16:02:23.216985Z","iopub.status.idle":"2023-04-15T16:02:24.29282Z","shell.execute_reply.started":"2023-04-15T16:02:23.216914Z","shell.execute_reply":"2023-04-15T16:02:24.29136Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sns.pairplot(SS)","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:24.294971Z","iopub.execute_input":"2023-04-15T16:02:24.296545Z","iopub.status.idle":"2023-04-15T16:02:24.930544Z","shell.execute_reply.started":"2023-04-15T16:02:24.296488Z","shell.execute_reply":"2023-04-15T16:02:24.929386Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sns.pairplot(TE)","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:24.934508Z","iopub.execute_input":"2023-04-15T16:02:24.935224Z","iopub.status.idle":"2023-04-15T16:02:32.61812Z","shell.execute_reply.started":"2023-04-15T16:02:24.935171Z","shell.execute_reply":"2023-04-15T16:02:32.616486Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"SS.to_csv(\"submission.csv\",index=False)","metadata":{"execution":{"iopub.status.busy":"2023-04-15T16:02:32.619886Z","iopub.execute_input":"2023-04-15T16:02:32.620268Z","iopub.status.idle":"2023-04-15T16:02:32.628483Z","shell.execute_reply.started":"2023-04-15T16:02:32.620233Z","shell.execute_reply":"2023-04-15T16:02:32.627364Z"},"trusted":true},"execution_count":null,"outputs":[]}]}