Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Create and train a predictive model

Use statistical models to determine significant anomalies in real-time using MetricBase triggers. You will need to train a model using representative data that has already been stored in MetricBase.

Before you begin

Role required: admin

Procedure

  1. Navigate to All > MetricBase > MetricBase Models.

  2. Select New.

  3. On the form, fill in the fields.

FieldDescription
Model nameName of the model. The name can be any combination of alphanumeric characters. This model name is not the same as the model class. In general, the name relates to the value in Group by.
Table nameName of the table that contains the training data.
MetricName of the metric that you use to train the model. The metric must belong to the table.
CreatedDate that you trained the model.
FilterFilters that you use to exclude some of the data in the dataset.Note: When choosing data to train your model, try to select data that demonstrates an expected behavior to reduce anomalies in the training set.
Group byYou can use Group by as a discriminator field for your model data. For example, if you want to create a data model over a group of production servers whose performance differs by role (such as database or application server roles) then you would choose role as the Group by field. The training process creates one model per role in the group of records selected by the filter. You do not have to manually create a model for each role.
Model ClassThe algorithm to use when training data. Select a moving average algorithm (PEWMA, ARIMA), a seasonal algorithm (STL, HW), or choose Find Best Fit Model. The default is Find Best Fit Model, which tries each algorithm and selects the one which appears to have the best fit over the training set.
Training Dataset Start DateMetricBase time series data for the metric starting with this date.
Training Dataset End DateMetricBase time series data for the metric ending with this date.
Valid untilDate that serves as a reminder to consider retraining the model. If the model is performing well, there's no need to retrain it. The model can continue working past this date.
ActiveOption to use the trained model. Once the model is active it becomes available for use as a Workflow Studio trigger.
  1. Click Submit and Train.

    MetricBase trains the model. When complete, the model appears on the MetricBase Model Instances tab.

  2. Click the model name.

    The modeling data appears as does the model string with the parameters optimized by the training.

Image omitted: trained-model-results.png
Trained model data
  1. Click the model name and then click Set Model to change the model parameters.

    You can edit the model parameters when you want to override the settings for training your model. The graph does not update, you are saving the revised model string.

What to do next

You can create a Workflow Studio trigger for this model. For more information, see Create a model trigger.