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.
Avant de commencer
Procédure
- Navigate to All > MetricBase > MetricBase Models.
- Select New.
-
On the form, fill in the fields.
Tableau 1. Model New Record form Field Description Model name Name 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 name Name of the table that contains the training data. Metric Name of the metric that you use to train the model. The metric must belong to the table. Created Date that you trained the model. Filter Filters that you use to exclude some of the data in the dataset. Remarque :When choosing data to train your model, try to select data that demonstrates an expected behavior to reduce anomalies in the training set.Group by You 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 Class The 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 Date MetricBase time series data for the metric starting with this date. Training Dataset End Date MetricBase time series data for the metric ending with this date. Valid until Date 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. Active Option to use the trained model. Once the model is active it becomes available for use as a Workflow Studio trigger. -
Click Submit and Train.
MetricBase trains the model. When complete, the model appears on the MetricBase Model Instances tab.
-
Click the model name.
The modeling data appears as does the model string with the parameters optimized by the training.
- Facultatif :
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.