Request コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
Request() |
Request クラスの新しいインスタンスを初期化します。 |
Request(IList<Point>, Granularity, Nullable<Int32>, Nullable<Int32>, Nullable<Double>, Nullable<Int32>) |
Request クラスの新しいインスタンスを初期化します。 |
Request()
Request(IList<Point>, Granularity, Nullable<Int32>, Nullable<Int32>, Nullable<Double>, Nullable<Int32>)
- ソース:
- Request.cs
Request クラスの新しいインスタンスを初期化します。
public Request(System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.Point> series, Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.Granularity granularity, int? customInterval = default, int? period = default, double? maxAnomalyRatio = default, int? sensitivity = default);
new Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.Request : System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.Point> * Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.Granularity * Nullable<int> * Nullable<int> * Nullable<double> * Nullable<int> -> Microsoft.Azure.CognitiveServices.AnomalyDetector.Models.Request
Public Sub New (series As IList(Of Point), granularity As Granularity, Optional customInterval As Nullable(Of Integer) = Nothing, Optional period As Nullable(Of Integer) = Nothing, Optional maxAnomalyRatio As Nullable(Of Double) = Nothing, Optional sensitivity As Nullable(Of Integer) = Nothing)
パラメーター
時系列データ ポイント。 異常検出の結果と一致させるには、タイムスタンプでポイントを昇順で並べ替える必要があります。 データが正しく並べ替えられない場合、またはタイムスタンプが重複している場合、API は機能しません。 このような場合は、エラー メッセージが返されます。
- granularity
- Granularity
年単位、月単位、週単位、日単位、時間単位、分単位のいずれか 1 つだけを指定できます。 粒度は、入力系列が有効かどうかを確認するために使用されます。 使用できる値は、'yearly'、'monthly'、'weekly'、'daily'、'hourly'、'minutely' です。
カスタム間隔は、標準以外の時間間隔を設定するために使用されます。たとえば、系列が 5 分の場合、要求は {"granularity":"minutely"、"customInterval":5} として設定できます。
省略可能な引数、高度なモデル パラメーター(0 から 99 の間)、値が小さいほど余白の値が大きくなります。これは、受け入れられる異常が少ないことを意味します。
適用対象
Azure SDK for .NET