6
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

最近のJupyter Notebookの1セル目

Last updated at Posted at 2019-02-12
# 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"))
6
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?