run command is the primary entry point for starting an ML experiment session. It orchestrates the entire autonomous experimentation process from data profiling to final report generation.
Command Syntax
Required Arguments
Three arguments are required for every run:Path to your dataset file. Supports CSV and Parquet formats.Short form:
-dExample:Name of the target column for prediction. Must exist in your dataset.Short form:
-tExample:Type of machine learning task. Must be either
classification or regression.Options:classification- For predicting categorical outcomesregression- For predicting continuous values
Optional Arguments
Path to a constraints file in Markdown format. Use this to guide the autopilot’s experimentation strategy.Short form: See Constraints for details on writing constraint files.
-cDefault: NoneExample:Maximum number of experiment iterations to run. The autopilot will stop after this many iterations, even if the time budget hasn’t been exhausted.Short form:
-nDefault: 20Range: 1-100Example:Time budget in seconds for the entire experiment session. The autopilot will stop when this time limit is reached.Default:
3600 (1 hour)Range: 60-86400 (1 minute to 24 hours)Example:Directory where results will be saved. If not specified, a timestamped directory will be created automatically in
./outputs/.Short form: -oDefault: Auto-generated (e.g., ./outputs/experiment_20240315_143022/)Example:Show detailed Gemini reasoning and thought processes during experimentation. Useful for understanding why the autopilot makes certain decisions.Short form:
-vDefault: falseExample:Resume from a previously saved state file. Use this to continue an interrupted experiment.Default:
NoneExample:When resuming, the state file contains all configuration from the original run, so you don’t need to specify
--data, --target, etc. again.Workflow
When you run the command, the autopilot executes the following workflow:- Configuration - Validates arguments and loads API credentials
- Data Profiling - Analyzes dataset characteristics, distributions, and quality
- Experiment Design - Gemini creates an experiment plan based on data profile and constraints
- Experiment Execution - Runs experiments, tracks metrics, and logs results
- Analysis & Iteration - Analyzes results, generates hypotheses, and plans next experiments
- Reporting - Generates final report with best models and insights
Examples
Minimal Example
Simplest possible command with just required arguments:Production Example
Full-featured command for a production run:Classification Example
Customer churn prediction:Resume Example
Continuing an interrupted experiment:Exit Codes
0- Successful completion1- Error or user interruption (Ctrl+C)
Output Structure
The output directory contains:See Also
- Arguments Reference - Complete parameter documentation
- Constraints - How to write constraint files
- Configuration - Setting up API keys and preferences