[Autogluon] df0.04_tr, df0.04_tst

Author

김보람

Published

February 20, 2024

imports

import pandas as pd
import numpy as np
import sklearn
import pickle 
import time 
import datetime
import warnings
warnings.filterwarnings('ignore')
%run ../functions-auto.py
with open('../fraudTrain.pkl', 'rb') as file:
    fraudTrain = pickle.load(file)    
auto_amt_nb4(fraudTrain,0.04)
model time acc pre rec f1 auc graph_based method throw_rate train_size train_cols train_frate test_size test_frate hyper_params
0 KNeighborsUnif None 0.976397 0.758361 0.603059 0.671852 0.870095 False Auto_not_best 0.04 112612 [amt] 0.039978 37538 0.040066 None
1 KNeighborsDist None 0.974559 0.738075 0.565824 0.640572 0.855269 False Auto_not_best 0.04 112612 [amt] 0.039978 37538 0.040066 None
2 LightGBMXT None 0.959934 0.000000 0.000000 0.000000 0.774077 False Auto_not_best 0.04 112612 [amt] 0.039978 37538 0.040066 None
3 LightGBM None 0.975785 0.802030 0.525266 0.634793 0.961797 False Auto_not_best 0.04 112612 [amt] 0.039978 37538 0.040066 None
4 RandomForestGini None 0.972321 0.704485 0.532580 0.606588 0.890065 False Auto_not_best 0.04 112612 [amt] 0.039978 37538 0.040066 None
5 RandomForestEntr None 0.972321 0.704485 0.532580 0.606588 0.890065 False Auto_not_best 0.04 112612 [amt] 0.039978 37538 0.040066 None
6 CatBoost None 0.975598 0.749153 0.587766 0.658718 0.951705 False Auto_not_best 0.04 112612 [amt] 0.039978 37538 0.040066 None
7 ExtraTreesGini None 0.974133 0.731941 0.559176 0.633999 0.897733 False Auto_not_best 0.04 112612 [amt] 0.039978 37538 0.040066 None
8 ExtraTreesEntr None 0.974053 0.731239 0.557181 0.632453 0.896889 False Auto_not_best 0.04 112612 [amt] 0.039978 37538 0.040066 None
9 NeuralNetFastAI None 0.974080 0.854473 0.425532 0.568131 0.903616 False Auto_not_best 0.04 112612 [amt] 0.039978 37538 0.040066 None
10 XGBoost None 0.976371 0.736398 0.638963 0.684229 0.946507 False Auto_not_best 0.04 112612 [amt] 0.039978 37538 0.040066 None
11 NeuralNetTorch None 0.977143 0.776541 0.603059 0.678892 0.960539 False Auto_not_best 0.04 112612 [amt] 0.039978 37538 0.040066 None
12 LightGBMLarge None 0.975785 0.802030 0.525266 0.634793 0.960211 False Auto_not_best 0.04 112612 [amt] 0.039978 37538 0.040066 None
13 WeightedEnsemble_L2 None 0.977410 0.783737 0.602394 0.681203 0.962266 False Auto_not_best 0.04 112612 [amt] 0.039978 37538 0.040066 None