Slide 45
Slide 45 text
࣮ৄࡉ
IPHFQZ
ʙֶशͷ࠶ݱੑʙ
features = [
"age",
"pclass",
"family_size",
"fare",
"sibsp",
"parch",
"cabin"
]
params_lgb = {
'boosting_type': 'gbdt',
'objective': 'fair',
'metric': 'fair',
'num_boost_round': 20000,
'early_stopping_rounds': 1000,
'verbose': 1000,
'random_state': 999
}
cv = {
'method': 'KFold',
'n_splits': 5,
'random_state': 42,
'shuffle': True,
}
{
"use_features": [
"age",
"pclass",
"family_size",
"fare",
"sibsp",
"parch",
"cabin"
],
"model_params": {
"boosting_type": "gbdt",
"objective": "fair",
"metric": "fair",
"num_boost_round": 20000,
"early_stopping_rounds": 1000,
"verbose": 1000,
"random_state": 999
},
"cv": {
"method": "KFold",
"n_splits": 5,
"random_state": 42,
"shuffle": true
},
"dataset": {
"run_name": "lgb_1128_2003",
"feature_directory": "../data/features/remove_outlier/",
"target": "salary"
}
}
IPHF@QBSBNKTPO
QZUIPOIPHFQZ