train_baseline
Fit a named model to a dataset using a target column and task type, then return evaluation metrics and feature metadata for baseline assessment.
Instructions
Fit one named model and return evaluation metrics and feature metadata. Supply a dataset, target and task. Use start_training_job for background evaluation or export_model to fit and save a reusable bundle.
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": {
"name": "<name>",
"target_column": "<target_column>",
"task_type": "<task_type>",
"model_name": "<model_name>"
},
"name": "train_baseline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Dataset filename. | |
| stratify | No | Stratify split (classification only, default true). | |
| delimiter | No | CSV delimiter (comma, semicolon, tab, pipe). Auto. | |
| task_type | Yes | 'classification' or 'regression'. | |
| test_size | No | Test fraction (default 0.2). | |
| model_name | Yes | Model to train. | |
| random_state | No | Random seed (default 42). | |
| target_column | Yes | Target variable column. | |
| exclude_columns | No | Feature columns to exclude before preprocessing/training. | |
| split_manifest_id | No | ID of a validated split manifest to enforce indices. |