optimize_ga_securely
Minimize Mean Absolute Percentage Error in time-series forecasts by running a genetic algorithm in a secure Azure sandbox. Fit polynomial, exponential, or logistic models to your actual data.
Instructions
Executes a Genetic Algorithm in a secure remote Azure sandbox to minimize Mean Absolute Percentage Error (MAPE) against ground-truth target values.
Ideal for driving down error metrics in complex time-series predictions, such as electrical load forecasting.
Usage Guidelines:
actualsarray size must not exceed 5,000 data points to prevent sandbox execution timeouts.generationsshould be kept under 1,000 iterations for optimal performance vs. compute cost.model_typeis strictly limited to 'polynomial', 'exponential', or 'logistic'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actuals | Yes | A list of numerical float values representing the ground-truth targets to optimize against. | |
| model_type | No | The underlying curve model to fit during optimization. | polynomial |
| generations | No | The integer number of evolutionary generations the algorithm should iterate through. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |