# Jupyterのセル内容をすべて出力する設定
from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity ='all'
import pandas as pd
pd.set_option('display.max_columns', 99)
# 進捗の確認
from fastprogress import master_bar, progress_bar
import numpy as np
import pandas_profiling as pdp
from sklearn.model_selection import train_test_split,KFold,StratifiedKFold,GridSearchCV
from sklearn.preprocessing import LabelEncoder
from sklearn.metrics import roc_auc_score
import seaborn as sns
import matplotlib.pyplot as plt
%matplotlib inline
# 警告を消す
import warnings
from pandas.core.common import SettingWithCopyWarning
warnings.simplefilter(action='ignore', category=SettingWithCopyWarning)
warnings.simplefilter(action='ignore', category=FutureWarning)
# 乱数固定
SEED = 2019
# K分割はほぼ5で分割
N_FOLDS = 5
# ディレクトリはKaggleっぽく切る
import gc
import os
print(os.listdir("../input"))
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme