Config parameters for model config in classification
Customize the training behavior of your classification solution by passing in a dictionary of parameters in JSON format.
시작하기 전에
Role required: ml_admin or admin
이 태스크 정보
You can fine-tune model performance by passing in a dictionary of parameters to adjust training behavior.
Understand the machine learning hyperparameters relevant to your model objective. This option is advanced and should be modified with care.
You can add these parameters in the solution definition form by using the following procedure.
Alternatively, you can use a script to add these parameters. For the format to use when scripting, see the What to do next section of this page.
프로시저
결과
The setting appears as a row on the Advanced Solution Setting tab on your solution's form.
다음에 수행할 작업
Retrain your solution.
You can also pass in this dictionary with a script. Be sure to use the enclosing label, braces, and parentheses when scripting.
config.setModelParams({
'max_depth': 10,
'learning_rate': 0.1,
'objective': 'multi:softprob',
'num_class': 11,
'random_state': 10,
'eval_metric': 'mlogloss',
'booster': 'gbtree',
'n_estimators': 150,
'verbosity': 1,
'use_label_encoder': false,
'tree_method': 'hist',
'num_parallel_tree': 1,
'gamma': 0.25,
'subsample': 0.8,
'max_delta_step': 5,
'reg_alpha': 0,
'reg_lambda': 1,
'colsample_bytree': 0.8,
'colsample_bylevel': 1,
'colsample_bynode': 1,
'min_child_weight': 1.25,
'n_jobs': 11,
'validate_parameters': true
});
{
"classification_model_params": {
'max_depth': 10,
'learning_rate': 0.1,
'objective': 'multi:softprob',
'num_class': 11,
'random_state': 10,
'eval_metric': 'mlogloss',
'booster': 'gbtree',
'n_estimators': 150,
'verbosity': 1,
'use_label_encoder': false,
'tree_method': 'hist',
'num_parallel_tree': 1,
'gamma': 0.25,
'subsample': 0.8,
'max_delta_step': 5,
'reg_alpha': 0,
'reg_lambda': 1,
'colsample_bytree': 0.8,
'colsample_bylevel': 1,
'colsample_bynode': 1,
'min_child_weight': 1.25,
'n_jobs': 11,
'validate_parameters': true
}
}