Skip to content

Update "Historical data for training" sections within Predict docs #21047

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/docs/nrql/nrql-syntax-clauses-functions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ Here're some examples:

Prediction window: Predicts a range equal to 20% of the total time span specified in your query window.

Historical data for training: Uses historical data from the current query window and the two preceding ones to generate predictions.
Historical data for training: Uses historical data from the last three query windows (the current one and the two preceding it). However, if you provide a `seasonality` hyperparameter that is greater than the query window, the model instead uses historical data spanning a period equal to three times the seasonality.

Time interval: Aligns with the data point interval of the time series in the query window to ensure consistency in data projection.
</Collapser>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ The `PREDICT` clause in a query comes with the following default behaviors:
* **Seasonality**: Automatically detects whether seasonality is present in the historic data. If seasonality is detected, the identified season length is used in the Holt-Winters seasonal algorithm. If no seasonality is found, it constructs a non-seasonal model.
* **Hyperparameters**: Sets the hyperparameters for the Holt-Winters algorithm based upon the seasonality and historical data.
* **Prediction window**: Predicts a range equal to 20% of the total time span specified in your query window.
* **Historical data for training**: Uses historical data from the current query window and the two preceding ones to generate predictions.
* **Historical data for training**: Uses historical data from the last three query windows (the current one and the two preceding it). However, if you provide a `seasonality` hyperparameter that is greater than the query window, the model instead uses historical data spanning a period equal to three times the seasonality.
* **Time interval**: Aligns with the data point interval of the time series in the query window to ensure consistency in data projection.

## Customizing the predictive model [#customize-prediction-range]
Expand Down