Start Hyperparameter Tuning
Launch a hyperparameter optimization job for an existing training configuration.Required Parameters
objective: Metric to optimize (minimizeormaximize)metric: Target metric name (e.g.,loss,accuracy,f1_score)search_space: Parameter search space configurationalgorithm: Optimization algorithm (grid,random,bayesian,tpe,hyperband)
Optional Parameters
max_trials: Maximum number of trials (default: 50)max_concurrent: Maximum concurrent trials (default: 4)early_stopping: Early stopping configurationbudget: Resource budget constraints
Example Usage
Bayesian Optimization for Language Model
Grid Search for Computer Vision Model
Hyperband Optimization
Response
Returns the hyperparameter tuning job object:Get Tuning Job Status
Retrieve the current status and results of a hyperparameter tuning job.Response
List Tuning Jobs
Retrieve a list of hyperparameter tuning jobs for your account.Query Parameters
status: Filter by status (pending,running,completed,failed,cancelled)algorithm: Filter by algorithm (grid,random,bayesian,tpe,hyperband)limit: Number of jobs to return (1-100, default: 50)offset: Number of jobs to skip for pagination
Stop Tuning Job
Stop a running hyperparameter tuning job.Create Training Job from Best Trial
Create a new training job using the best parameters found during tuning.Search Space Configuration
Parameter Types
Continuous Parameters
Discrete Parameters
Integer Parameters
Optimization Algorithms
Bayesian Optimization
- Best for: Expensive function evaluations, continuous parameters
- Pros: Sample efficient, handles noise well
- Cons: Slower for discrete spaces, requires more memory
Tree-structured Parzen Estimator (TPE)
- Best for: Mixed discrete/continuous spaces
- Pros: Efficient for complex search spaces
- Cons: May get stuck in local optima
Random Search
- Best for: Quick exploration, baseline comparison
- Pros: Simple, parallelizable, robust
- Cons: Not sample efficient for complex spaces
Grid Search
- Best for: Small search spaces, interpretable results
- Pros: Exhaustive, deterministic
- Cons: Exponential scaling, curse of dimensionality
Hyperband
- Best for: Neural architecture search, large budgets
- Pros: Efficient early stopping, handles varying budgets
- Cons: Requires configurable training epochs
SDK Examples
Python SDK
JavaScript SDK
Advanced Configurations
Multi-Objective Optimization
Conditional Parameters
Budget-Aware Optimization
Error Handling
Common Errors
Best Practices
Search Space Design
- Start with wide ranges and narrow down based on initial results
- Use appropriate parameter types (log_uniform for learning rates)
- Include both architectural and training hyperparameters
- Consider parameter interactions and dependencies
Algorithm Selection
- Use Bayesian optimization for expensive evaluations
- Use random search for initial exploration
- Use grid search for final fine-tuning
- Use Hyperband for neural architecture search
Resource Management
- Set appropriate budget constraints to control costs
- Use early stopping to avoid wasted computation
- Balance exploration vs exploitation with concurrent trials
- Monitor convergence to avoid unnecessary trials
Hyperparameter tuning jobs can be paused and resumed. Intermediate results are saved automatically for recovery.

