tune_hyperparameters
Optimize machine learning model performance by automatically searching hyperparameters using grid or random search across multiple algorithms and cross-validation.
Instructions
Perform comprehensive hyperparameter tuning for a model with various search strategies
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset_name | No | Name of the loaded dataset for hyperparameter tuning | |
| dataset_path | No | Path to the dataset file - alternative to dataset_name | |
| target_column | Yes | Name of the target/label column | |
| algorithm | Yes | Machine learning algorithm to tune | |
| tuning_method | No | Hyperparameter search method | grid_search |
| cv_folds | No | Number of cross-validation folds for tuning | |
| scoring | No | Scoring metric for optimization (optional) | |
| test_size | No | Proportion of data to hold out for final evaluation | |
| custom_param_grid | No | Custom parameter grid (optional) |