flow_validate
Validate a trained Flow model against real data using statistical tests. Returns a job ID for asynchronous progress monitoring.
Instructions
Validate a trained Flow model against real data. Generates paths and compares them to historical distributions using Wasserstein distance, KS tests, coverage tests, and marginal distribution checks. Returns immediately with a job_id — validation runs asynchronously (~3-5 min). Use check_flow_job(job_id=..., job_type='validate') to monitor progress. Requires a trained Flow model (run train_flow_model first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| horizon | No | Validation horizon (defaults to training horizon) | |
| n_paths | No | Number of paths to generate for validation (default 500) | |
| model_group_id | Yes | UUID of the model group with a trained Flow model |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |