{"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":"# American Express \n\nThanks @ragnar123 for your [work](https://www.kaggle.com/code/ragnar123/amex-lgbm-dart-cv-0-7963)","metadata":{}},{"cell_type":"code","source":"import numpy as np # linear algebra\nimport pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","execution":{"iopub.status.busy":"2022-07-14T16:36:28.058302Z","iopub.execute_input":"2022-07-14T16:36:28.058830Z","iopub.status.idle":"2022-07-14T16:36:28.086311Z","shell.execute_reply.started":"2022-07-14T16:36:28.058741Z","shell.execute_reply":"2022-07-14T16:36:28.085450Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sub = pd.read_csv('../input/amex-lgbm-dart-cv-0-7963/test_lgbm_baseline_5fold_seed42.csv')\nsub.describe()","metadata":{"execution":{"iopub.status.busy":"2022-07-14T16:36:28.087280Z","iopub.execute_input":"2022-07-14T16:36:28.088103Z","iopub.status.idle":"2022-07-14T16:36:30.620957Z","shell.execute_reply.started":"2022-07-14T16:36:28.088071Z","shell.execute_reply":"2022-07-14T16:36:30.619507Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"sub['prediction'] *= .99\nsub.to_csv('submission.csv', index=False)\nsub.describe()","metadata":{"execution":{"iopub.status.busy":"2022-07-14T16:36:30.622451Z","iopub.execute_input":"2022-07-14T16:36:30.622936Z","iopub.status.idle":"2022-07-14T16:36:34.128900Z","shell.execute_reply.started":"2022-07-14T16:36:30.622856Z","shell.execute_reply":"2022-07-14T16:36:34.127887Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}