mirror of
https://github.com/microsoft/autogen.git
synced 2026-04-20 03:02:16 -04:00
support ROC and AUC for multi-class classification (#170)
* support ROC and AUC for multi-class classification * add a test case to cover ROC and AUC for multi-class classification
This commit is contained in:
@@ -200,7 +200,7 @@
|
||||
"source": [
|
||||
"settings = {\n",
|
||||
" \"time_budget\": 60, # total running time in seconds\n",
|
||||
" \"metric\": 'accuracy', # primary metrics can be chosen from: ['accuracy','roc_auc','f1','log_loss','mae','mse','r2']\n",
|
||||
" \"metric\": 'accuracy', # primary metrics can be chosen from: ['accuracy','roc_auc', 'roc_auc_ovr', 'roc_auc_ovo', 'f1','log_loss','mae','mse','r2']\n",
|
||||
" \"task\": 'classification', # task type \n",
|
||||
" \"estimator_list\":['xgboost','catboost','lgbm'],\n",
|
||||
" \"log_file_name\": 'airlines_experiment.log', # flaml log file\n",
|
||||
@@ -962,4 +962,4 @@
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 4
|
||||
}
|
||||
}
|
||||
@@ -121,7 +121,7 @@
|
||||
"source": [
|
||||
"settings = {\n",
|
||||
" \"time_budget\": 300, # total running time in seconds\n",
|
||||
" \"metric\": 'accuracy', # primary metrics can be chosen from: ['accuracy','roc_auc','f1','log_loss','mae','mse','r2']\n",
|
||||
" \"metric\": 'accuracy', # primary metrics can be chosen from: ['accuracy','roc_auc','roc_auc_ovr','roc_auc_ovo','f1','log_loss','mae','mse','r2']\n",
|
||||
" \"task\": 'classification', # task type \n",
|
||||
" \"log_file_name\": 'airlines_experiment.log', # flaml log file\n",
|
||||
"}"
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
"source": [
|
||||
"settings = {\n",
|
||||
" \"time_budget\": 60, # total running time in seconds\n",
|
||||
" \"metric\": 'accuracy', # primary metrics can be chosen from: ['accuracy','roc_auc','f1','log_loss','mae','mse','r2']\n",
|
||||
" \"metric\": 'accuracy', # primary metrics can be chosen from: ['accuracy','roc_auc','roc_auc_ovr','roc_auc_ovo','f1','log_loss','mae','mse','r2']\n",
|
||||
" \"estimator_list\": ['lgbm', 'rf', 'xgboost'], # list of ML learners\n",
|
||||
" \"task\": 'classification', # task type \n",
|
||||
" \"sample\": False, # whether to subsample training data\n",
|
||||
|
||||
Reference in New Issue
Block a user