add_trial
Register a trial in the Optuna study with parameters, distributions, values, state, and attributes for hyperparameter optimization and analysis.
Instructions
Add a trial to the study.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
trial | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"TrialToAdd": {
"properties": {
"distributions": {
"additionalProperties": true,
"title": "Distributions",
"type": "object"
},
"params": {
"additionalProperties": true,
"title": "Params",
"type": "object"
},
"state": {
"enum": [
"COMPLETE",
"PRUNED",
"FAIL"
],
"title": "State",
"type": "string"
},
"system_attrs": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "System Attrs"
},
"user_attrs": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "User Attrs"
},
"values": {
"anyOf": [
{
"items": {
"type": "number"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Values"
}
},
"required": [
"params",
"distributions",
"values",
"state",
"user_attrs",
"system_attrs"
],
"title": "TrialToAdd",
"type": "object"
}
},
"properties": {
"trial": {
"$ref": "#/$defs/TrialToAdd"
}
},
"required": [
"trial"
],
"title": "add_trialArguments",
"type": "object"
}