-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
UnivariateChangePointDetectionResult.cs
55 lines (49 loc) · 2.17 KB
/
UnivariateChangePointDetectionResult.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.AI.AnomalyDetector
{
/// <summary> Response of change point detection. </summary>
public partial class UnivariateChangePointDetectionResult
{
/// <summary> Initializes a new instance of UnivariateChangePointDetectionResult. </summary>
internal UnivariateChangePointDetectionResult()
{
IsChangePoint = new ChangeTrackingList<bool>();
ConfidenceScores = new ChangeTrackingList<float>();
}
/// <summary> Initializes a new instance of UnivariateChangePointDetectionResult. </summary>
/// <param name="period">
/// Frequency extracted from the series. Zero means no recurrent pattern has been
/// found.
/// </param>
/// <param name="isChangePoint">
/// Change point properties for each input point. True means
/// an anomaly (either negative or positive) has been detected. The index of the
/// array is consistent with the input series.
/// </param>
/// <param name="confidenceScores"> Change point confidence of each point. </param>
internal UnivariateChangePointDetectionResult(int? period, IReadOnlyList<bool> isChangePoint, IReadOnlyList<float> confidenceScores)
{
Period = period;
IsChangePoint = isChangePoint;
ConfidenceScores = confidenceScores;
}
/// <summary>
/// Frequency extracted from the series. Zero means no recurrent pattern has been
/// found.
/// </summary>
public int? Period { get; }
/// <summary>
/// Change point properties for each input point. True means
/// an anomaly (either negative or positive) has been detected. The index of the
/// array is consistent with the input series.
/// </summary>
public IReadOnlyList<bool> IsChangePoint { get; }
/// <summary> Change point confidence of each point. </summary>
public IReadOnlyList<float> ConfidenceScores { get; }
}
}