Skip to content

Commit 06b0fff

Browse files
committed
fix schema
1 parent f97e029 commit 06b0fff

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

docs/optimizer_config.schema.json

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1425,6 +1425,37 @@
14251425
"type": "string"
14261426
},
14271427
"n_trials": {
1428+
"anyOf": [
1429+
{
1430+
"exclusiveMinimum": 0,
1431+
"type": "integer"
1432+
},
1433+
{
1434+
"type": "null"
1435+
}
1436+
],
1437+
"default": null,
1438+
"description": "Number of trials",
1439+
"title": "N Trials"
1440+
},
1441+
"target_metric": {
1442+
"default": [
1443+
"decision_accuracy"
1444+
],
1445+
"items": {
1446+
"enum": [
1447+
"decision_accuracy",
1448+
"decision_f1",
1449+
"decision_roc_auc",
1450+
"decision_precision",
1451+
"decision_recall"
1452+
],
1453+
"type": "string"
1454+
},
1455+
"title": "Target Metric",
1456+
"type": "array"
1457+
},
1458+
"n_optuna_trials": {
14281459
"anyOf": [
14291460
{
14301461
"items": {
@@ -1440,7 +1471,7 @@
14401471
"default": [
14411472
320
14421473
],
1443-
"title": "N Trials"
1474+
"title": "N Optuna Trials"
14441475
}
14451476
},
14461477
"required": [

0 commit comments

Comments
 (0)