An anomaly detector is a predictive model that can help identify the instances within a dataset that do not conform to a regular pattern. It can be useful for tasks like data cleansing, identifying unusual instances, or, given a new data point, deciding whether a model is competent to make a prediction or not. The complete and updated reference with all available parameters is in our documentation website.
Inheritance: Response
Example #1
0
 /// <summary>
 /// Create an Anomaly Score.
 /// </summary>
 /// <param name="anomaly">An Anomaly detector instance</param>
 /// <param name="name">The name you want to give to the new anomaly score. </param>
 /// <param name="arguments">Specifies the values of the fields that you want to use.</param>
 public Task<AnomalyScore> CreateAnomalyScore(Anomaly anomaly, string name = null,
                                     AnomalyScore.Arguments arguments = null)
 {
     arguments = arguments ?? new AnomalyScore.Arguments();
     if (!string.IsNullOrWhiteSpace(name))
         arguments.Name = name;
     arguments.Anomaly = anomaly.Resource;
     return Create<AnomalyScore>(arguments);
 }
 /// <summary>
 /// Create an Anomaly.
 /// </summary>
 /// <param name="dataset">A DataSet instance</param>
 /// <param name="name">The name you want to give to the new anomaly detector. </param>
 /// <param name="arguments">Specifies the id of the field that you want to predict.</param>
 public Task<Anomaly> CreateAnomaly(DataSet dataset, string name = null,
                                     Anomaly.Arguments arguments = null)
 {
     arguments = arguments ?? new Anomaly.Arguments();
     if (!string.IsNullOrWhiteSpace(name))
         arguments.Name = name;
     arguments.DataSet = dataset.Resource;
     return Create<Anomaly>(arguments);
 }
Example #3
0
 /// <summary>
 /// Create an Anomaly Score.
 /// </summary>
 /// <param name="anomaly">An Anomaly detector instance</param>
 /// <param name="name">The name you want to give to the new anomaly score. </param>
 /// <param name="arguments">Specifies the values of the fields that you want to use.</param>
 public Task <AnomalyScore> CreateAnomalyScore(Anomaly anomaly, string name     = null,
                                               AnomalyScore.Arguments arguments = null)
 {
     arguments = arguments ?? new AnomalyScore.Arguments();
     if (!string.IsNullOrWhiteSpace(name))
     {
         arguments.Name = name;
     }
     arguments.Anomaly = anomaly.Resource;
     return(Create <AnomalyScore>(arguments));
 }
 /// <summary>
 /// Create an anomaly detector using supplied arguments.
 /// </summary>
 public Task<Anomaly> CreateAnomaly(Anomaly.Arguments arguments)
 {
     return Create<Anomaly>(arguments);
 }