Skip to main content
Version: Next

ML Forecasting Service

The ML Forecasting Service is an optional service that applies machine learning and statistical models to time series forecasting. It lets you create forecast configurations for attributes with historical data. Currently, it supports Prophet, an additive regression model which is known for its ability to efficiently capture trends, seasonality and holidays effects. Additional models will be supported in future releases.

note

This service is not installed by default. It can be installed by your administrator by following the instructions in the External Services page.

Features

  • Create forecast configurations for any attribute that has historical data
  • Forecasts are automatically generated at a specified interval
  • Manage forecast configurations in the UI
  • Fine-tune the configuration by adjusting model parameters
  • Generated forecasts can be viewed as predicted data points when visualized via the Insights UI

Accessing the Service

To access the service, you must first navigate to the Services page in the Manager UI.

If the service is properly installed, you will see the ML Forecasting Service in the list of services.

ML Forecasting Service

Usage

When the service is selected, you should see a list of forecast configurations. If none are present, you can create one by clicking the Configure New Forecast button.

ML Forecasting Service

You can then configure the forecast by filling in the form.

Configuration Form

The form contains sensible defaults for forecast generation, training, and model parameters. It is recommended to keep the Parameters fields at their defaults unless you have a specific reason to change them.

SectionFieldDescription
GeneralNameThe name of the forecast configuration
Model TypeThe model to use for forecasting
Forecast GenerationGenerate new forecast everyHow often to create new predictions (increase if data changes quickly)
UnitTime measurement (hours, minutes, etc.)
Forecasted datapointsHow many future points to predict (more for long-term planning)
Time between datapointsGap between each predicted point
UnitTime measurement for prediction gaps
Forecast TargetAssetThe device or system with the data you want to predict
AttributeThe specific data you want to predict
Training data periodHow much past data to learn from (more for complex patterns, less if there has been a systemic change)
UnitTime measurement (days, weeks, months, years)
Model TrainingTrain model everyHow often the system learns from new data (keep same as forecast generation)
UnitTime measurement for relearning
ParametersChangepoint rangeHow much of your data to check for changes (0.8 = 80%). Reduce if predictions are too jumpy
Changepoint prior scaleHow likely the system thinks changes will happen (0.05 = 5%). Increase for more flexible forecasts that adapt quickly to changes, decrease for smoother forecasts that ignore minor variations
Seasonality modeHow seasonal patterns work (additive or multiplicative). Additive applies fixed seasonal adjustments (e.g., +10 units in summer). Multiplicative applies percentage-based adjustments (e.g., +20% in summer)
Daily seasonalityLook for daily patterns. Enable for daily cycles (energy, temperature)
Weekly seasonalityLook for weekly patterns. Enable for weekday/weekend differences
Yearly seasonalityLook for yearly patterns. Enable for seasonal data (needs 1+ year history)
RegressorsAssetAsset containing the regressor attribute
(Optional)AttributeThe attribute to use as a regressor
Training data periodHistorical period for regressor data (should match or exceed target training period)
UnitTime unit for regressor training data

Regressors can be added when there's a relationship between your target variable and other attributes. For example, when forecasting energy consumption, you might add weather data or solar production as regressors.

important

When using regressors, they must have predicted datapoints available for the entire forecast period. If a regressor doesn't have future data points, the forecast will fail. This means you'll need to either:

  • Use another forecast configuration to predict the regressor values first
  • Use another mechanism such as a custom rule or meta configuration to predict the regressor values

Saving Configuration

Once you've configured all fields, click the Save button to store the forecast configuration. The model will automatically train and begin generating forecasts according to your specified intervals. After this step, you can now safely navigate away from the configuration page.

Viewing the Forecast

Once the forecast is generated, you can view it in the Insights UI.

ML Forecasting Service

The forecast will be displayed as a dotted line in the chart.

Next Steps

Now that you understand how to set up and use the ML Forecasting Service, you can:

  1. Monitor the results in the Insights UI to verify forecast quality
  2. Experiment with parameters to optimize forecast accuracy for your specific use case
  3. Add regressors if you identify relationships between different data sources
  4. Add additional forecasts by creating additional configurations for other assets and attributes