{"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\nimport seaborn as sns\nimport plotly.express as px","metadata":{"execution":{"iopub.status.busy":"2022-07-12T12:19:56.749806Z","iopub.execute_input":"2022-07-12T12:19:56.750817Z","iopub.status.idle":"2022-07-12T12:19:56.755385Z","shell.execute_reply.started":"2022-07-12T12:19:56.750775Z","shell.execute_reply":"2022-07-12T12:19:56.754368Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sub = pd.read_csv('../input/amex-submissions/submission copy.csv', index_col=['customer_ID'])\nsub","metadata":{"execution":{"iopub.status.busy":"2022-07-12T12:19:56.786657Z","iopub.execute_input":"2022-07-12T12:19:56.787066Z","iopub.status.idle":"2022-07-12T12:19:58.524584Z","shell.execute_reply.started":"2022-07-12T12:19:56.787036Z","shell.execute_reply":"2022-07-12T12:19:58.523363Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sub.describe()","metadata":{"execution":{"iopub.status.busy":"2022-07-12T12:19:58.526759Z","iopub.execute_input":"2022-07-12T12:19:58.527118Z","iopub.status.idle":"2022-07-12T12:19:58.596001Z","shell.execute_reply.started":"2022-07-12T12:19:58.527087Z","shell.execute_reply":"2022-07-12T12:19:58.594856Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sns.histplot(data=sub, x='prediction')","metadata":{"execution":{"iopub.status.busy":"2022-07-12T12:19:58.597463Z","iopub.execute_input":"2022-07-12T12:19:58.598641Z","iopub.status.idle":"2022-07-12T12:20:00.012372Z","shell.execute_reply.started":"2022-07-12T12:19:58.598568Z","shell.execute_reply":"2022-07-12T12:20:00.011194Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"px.histogram(sub, x='prediction').show()","metadata":{"execution":{"iopub.status.busy":"2022-07-12T12:20:00.014543Z","iopub.execute_input":"2022-07-12T12:20:00.014891Z","iopub.status.idle":"2022-07-12T12:20:04.111286Z","shell.execute_reply.started":"2022-07-12T12:20:00.014863Z","shell.execute_reply":"2022-07-12T12:20:04.108432Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"px.histogram(sub, x='prediction', histnorm='probability density').show()","metadata":{"execution":{"iopub.status.busy":"2022-07-12T12:20:04.114507Z","iopub.execute_input":"2022-07-12T12:20:04.115302Z","iopub.status.idle":"2022-07-12T12:20:08.565437Z","shell.execute_reply.started":"2022-07-12T12:20:04.115256Z","shell.execute_reply":"2022-07-12T12:20:08.564172Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sub.to_csv('submission.csv')","metadata":{"execution":{"iopub.status.busy":"2022-07-12T12:20:08.567222Z","iopub.execute_input":"2022-07-12T12:20:08.567597Z","iopub.status.idle":"2022-07-12T12:20:11.389359Z","shell.execute_reply.started":"2022-07-12T12:20:08.567562Z","shell.execute_reply":"2022-07-12T12:20:11.387949Z"},"trusted":true},"execution_count":null,"outputs":[]}]}