Path: blob/master/Azure Machine Learning/Azure_Machine_Learning_Univariate_Timeseries_Inference.ipynb
2973 views
Azure Machine Learning - Univariate Timeseries Inference
Tags: #azure #machinelearning #univariate #timeseries #inference #ml
Author: Tobias Zwingmann
Last update: 2023-07-31 (Created: 2023-07-20)
Description: This notebook provides an example of how to use Azure Machine Learning to perform univariate timeseries inference. It is useful for organizations that need to analyze and predict future trends in their data. It requires a timeseries forecasting model hosted on Microsoft Azure and deployed as a web service. (See references below).
Input
Import libraries
Setup Variables
timestamp_col
: The name of the column with the timestamps. Must be the same as used in training.data_init
: Init data to be converted to DataFrame.timestamps_to_predict
: A list of the timestamps to predict. The timestamps must lie after the timestamps observed during trainingapi_url
: the http URL to the Azure forecasting modelapi_key
: the access key for the model
Model
Get historical data
Perform Univariate Timeseries Inference
Using the forecasting model, perform univariate timeseries inference on the data.