{"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-01T20:41:08.266907Z","iopub.execute_input":"2022-07-01T20:41:08.267792Z","iopub.status.idle":"2022-07-01T20:41:08.301797Z","shell.execute_reply.started":"2022-07-01T20:41:08.267655Z","shell.execute_reply":"2022-07-01T20:41:08.300006Z"},"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-01T20:41:36.496331Z","iopub.execute_input":"2022-07-01T20:41:36.496767Z","iopub.status.idle":"2022-07-01T20:41:37.945554Z","shell.execute_reply.started":"2022-07-01T20:41:36.496717Z","shell.execute_reply":"2022-07-01T20:41:37.944711Z"},"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-01T20:41:41.326609Z","iopub.execute_input":"2022-07-01T20:41:41.327008Z","iopub.status.idle":"2022-07-01T20:41:46.957325Z","shell.execute_reply.started":"2022-07-01T20:41:41.326973Z","shell.execute_reply":"2022-07-01T20:41:46.955833Z"},"trusted":true},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]}