Create model version
create_model_versionDefine a training-ready model version linked to a dataset version and target column, then pass its ID to submit_training_job. Supports time-series mode for ordered forecasting data.
Instructions
Create a model version tied to a dataset version and target column. Then call submit_training_job with the returned model version id.
Pass the train dataset's version, never the test one: a test file that reaches training is no longer a holdout. EasyDeploy does not check the type.
Set time_series_mode=true and time_column when forecasting ordered periods
(e.g. weekly business metrics). Time-series mode uses forward-chaining
cross-validation (TimeSeriesSplit) instead of shuffled k-fold: each fold
trains on earlier periods and scores on later ones. get_model_report
records the strategy a run used in metrics.crossValidation.strategy
(time_series_split for forward-chaining).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"model_id": "<model_id>",
"dataset_version_id": "<dataset_version_id>",
"target_feature": "<target_feature>"
},
"name": "create_model_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ||
| project_id | Yes | ||
| time_column | No | ||
| target_feature | Yes | ||
| time_series_mode | No | ||
| dataset_version_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||