历史异常检测
添加日期特征
如果您的数据集缺少外部变量,可以添加日期特征来为模型提供信息,以便进行历史异常检测。使用 date_features 参数。将其设置为 True 可提取所有可能的特征,或传入要包含的特定特征列表。
👍 使用 Azure AI 端点
要使用 Azure AI 端点,请设置
base_url参数
nixtla_client = NixtlaClient(base_url="you azure ai endpoint", api_key="your api_key")
📘 Azure AI 中可用的模型
如果您使用 Azure AI 端点,请设置
model="azureai"
nixtla_client.detect_anomalies(..., model="azureai")对于公共 API,支持两种模型:
timegpt-1和timegpt-1-long-horizon。默认使用
timegpt-1。有关使用timegpt-1-long-horizon的详细信息,请参阅本教程。
有关更多详细信息,请查看我们关于异常检测的深入教程。

