Synapseml  0.10.0
Public Member Functions | Static Public Member Functions | List of all members
Synapse.ML.Cognitive.DetectLastAnomaly Class Reference

DetectLastAnomaly implements DetectLastAnomaly More...

Inheritance diagram for Synapse.ML.Cognitive.DetectLastAnomaly:
Inheritance graph
[legend]
Collaboration diagram for Synapse.ML.Cognitive.DetectLastAnomaly:
Collaboration graph
[legend]

Public Member Functions

 DetectLastAnomaly ()
 Creates a DetectLastAnomaly without any parameters. More...
 
 DetectLastAnomaly (string uid)
 Creates a DetectLastAnomaly with a UID that is used to give the DetectLastAnomaly a unique ID. More...
 
DetectLastAnomaly SetConcurrency (int value)
 Sets value for concurrency More...
 
DetectLastAnomaly SetConcurrentTimeout (double value)
 Sets value for concurrentTimeout More...
 
DetectLastAnomaly SetCustomInterval (int value)
 Sets value for customInterval More...
 
DetectLastAnomaly SetCustomIntervalCol (string value)
 Sets value for customInterval column More...
 
DetectLastAnomaly SetErrorCol (string value)
 Sets value for errorCol More...
 
DetectLastAnomaly SetGranularity (string value)
 Sets value for granularity More...
 
DetectLastAnomaly SetGranularityCol (string value)
 Sets value for granularity column More...
 
DetectLastAnomaly SetHandler (object value)
 Sets value for handler More...
 
DetectLastAnomaly SetImputeFixedValue (double value)
 Sets value for imputeFixedValue More...
 
DetectLastAnomaly SetImputeFixedValueCol (string value)
 Sets value for imputeFixedValue column More...
 
DetectLastAnomaly SetImputeMode (string value)
 Sets value for imputeMode More...
 
DetectLastAnomaly SetImputeModeCol (string value)
 Sets value for imputeMode column More...
 
DetectLastAnomaly SetMaxAnomalyRatio (double value)
 Sets value for maxAnomalyRatio More...
 
DetectLastAnomaly SetMaxAnomalyRatioCol (string value)
 Sets value for maxAnomalyRatio column More...
 
DetectLastAnomaly SetOutputCol (string value)
 Sets value for outputCol More...
 
DetectLastAnomaly SetPeriod (int value)
 Sets value for period More...
 
DetectLastAnomaly SetPeriodCol (string value)
 Sets value for period column More...
 
DetectLastAnomaly SetSensitivity (int value)
 Sets value for sensitivity More...
 
DetectLastAnomaly SetSensitivityCol (string value)
 Sets value for sensitivity column More...
 
DetectLastAnomaly SetSeries (TimeSeriesPoint[] value)
 Sets value for series More...
 
DetectLastAnomaly SetSeriesCol (string value)
 Sets value for series column More...
 
DetectLastAnomaly SetSubscriptionKey (string value)
 Sets value for subscriptionKey More...
 
DetectLastAnomaly SetSubscriptionKeyCol (string value)
 Sets value for subscriptionKey column More...
 
DetectLastAnomaly SetTimeout (double value)
 Sets value for timeout More...
 
DetectLastAnomaly SetUrl (string value)
 Sets value for url More...
 
int GetConcurrency ()
 Gets concurrency value More...
 
double GetConcurrentTimeout ()
 Gets concurrentTimeout value More...
 
int GetCustomInterval ()
 Gets customInterval value More...
 
string GetErrorCol ()
 Gets errorCol value More...
 
string GetGranularity ()
 Gets granularity value More...
 
object GetHandler ()
 Gets handler value More...
 
double GetImputeFixedValue ()
 Gets imputeFixedValue value More...
 
string GetImputeMode ()
 Gets imputeMode value More...
 
double GetMaxAnomalyRatio ()
 Gets maxAnomalyRatio value More...
 
string GetOutputCol ()
 Gets outputCol value More...
 
int GetPeriod ()
 Gets period value More...
 
int GetSensitivity ()
 Gets sensitivity value More...
 
TimeSeriesPoint [] GetSeries ()
 Gets series value More...
 
string GetSubscriptionKey ()
 Gets subscriptionKey value More...
 
double GetTimeout ()
 Gets timeout value More...
 
string GetUrl ()
 Gets url value More...
 
void Save (string path)
 Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala. More...
 
JavaMLWriter Write ()
 
Returns
a JavaMLWriter instance for this ML instance.

 
JavaMLReader< DetectLastAnomalyRead ()
 Get the corresponding JavaMLReader instance. More...
 
DetectLastAnomaly SetLocation (string value)
 Sets value for location More...
 
DetectLastAnomaly SetLinkedService (string value)
 Sets value for linkedService More...
 

Static Public Member Functions

static DetectLastAnomaly Load (string path)
 Loads the DetectLastAnomaly that was previously saved using Save(string). More...
 

Detailed Description

DetectLastAnomaly implements DetectLastAnomaly

Constructor & Destructor Documentation

◆ DetectLastAnomaly() [1/2]

Synapse.ML.Cognitive.DetectLastAnomaly.DetectLastAnomaly ( )
inline

Creates a DetectLastAnomaly without any parameters.

◆ DetectLastAnomaly() [2/2]

Synapse.ML.Cognitive.DetectLastAnomaly.DetectLastAnomaly ( string  uid)
inline

Creates a DetectLastAnomaly with a UID that is used to give the DetectLastAnomaly a unique ID.

Parameters
uidAn immutable unique ID for the object and its derivatives.

Member Function Documentation

◆ GetConcurrency()

int Synapse.ML.Cognitive.DetectLastAnomaly.GetConcurrency ( )

Gets concurrency value

Returns
concurrency: max number of concurrent calls

◆ GetConcurrentTimeout()

double Synapse.ML.Cognitive.DetectLastAnomaly.GetConcurrentTimeout ( )

Gets concurrentTimeout value

Returns
concurrentTimeout: max number seconds to wait on futures if concurrency >= 1

◆ GetCustomInterval()

int Synapse.ML.Cognitive.DetectLastAnomaly.GetCustomInterval ( )

Gets customInterval value

Returns
customInterval: Custom Interval is used to set non-standard time interval, for example, if the series is 5 minutes, request can be set as granularity=minutely, customInterval=5.

◆ GetErrorCol()

string Synapse.ML.Cognitive.DetectLastAnomaly.GetErrorCol ( )

Gets errorCol value

Returns
errorCol: column to hold http errors

◆ GetGranularity()

string Synapse.ML.Cognitive.DetectLastAnomaly.GetGranularity ( )

Gets granularity value

Returns
granularity: Can only be one of yearly, monthly, weekly, daily, hourly or minutely. Granularity is used for verify whether input series is valid.

◆ GetHandler()

object Synapse.ML.Cognitive.DetectLastAnomaly.GetHandler ( )

Gets handler value

Returns
handler: Which strategy to use when handling requests

◆ GetImputeFixedValue()

double Synapse.ML.Cognitive.DetectLastAnomaly.GetImputeFixedValue ( )

Gets imputeFixedValue value

Returns
imputeFixedValue: Optional argument, fixed value to use when imputeMode is set to "fixed"

◆ GetImputeMode()

string Synapse.ML.Cognitive.DetectLastAnomaly.GetImputeMode ( )

Gets imputeMode value

Returns
imputeMode: Optional argument, impute mode of a time series. Possible values: auto, previous, linear, fixed, zero, notFill

◆ GetMaxAnomalyRatio()

double Synapse.ML.Cognitive.DetectLastAnomaly.GetMaxAnomalyRatio ( )

Gets maxAnomalyRatio value

Returns
maxAnomalyRatio: Optional argument, advanced model parameter, max anomaly ratio in a time series.

◆ GetOutputCol()

string Synapse.ML.Cognitive.DetectLastAnomaly.GetOutputCol ( )

Gets outputCol value

Returns
outputCol: The name of the output column

◆ GetPeriod()

int Synapse.ML.Cognitive.DetectLastAnomaly.GetPeriod ( )

Gets period value

Returns
period: Optional argument, periodic value of a time series. If the value is null or does not present, the API will determine the period automatically.

◆ GetSensitivity()

int Synapse.ML.Cognitive.DetectLastAnomaly.GetSensitivity ( )

Gets sensitivity value

Returns
sensitivity: Optional argument, advanced model parameter, between 0-99, the lower the value is, the larger the margin value will be which means less anomalies will be accepted

◆ GetSeries()

TimeSeriesPoint [] Synapse.ML.Cognitive.DetectLastAnomaly.GetSeries ( )
inline

Gets series value

Returns
series: Time series data points. Points should be sorted by timestamp in ascending order to match the anomaly detection result. If the data is not sorted correctly or there is duplicated timestamp, the API will not work. In such case, an error message will be returned.

◆ GetSubscriptionKey()

string Synapse.ML.Cognitive.DetectLastAnomaly.GetSubscriptionKey ( )

Gets subscriptionKey value

Returns
subscriptionKey: the API key to use

◆ GetTimeout()

double Synapse.ML.Cognitive.DetectLastAnomaly.GetTimeout ( )

Gets timeout value

Returns
timeout: number of seconds to wait before closing the connection

◆ GetUrl()

string Synapse.ML.Cognitive.DetectLastAnomaly.GetUrl ( )

Gets url value

Returns
url: Url of the service

◆ Load()

static DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.Load ( string  path)
static

Loads the DetectLastAnomaly that was previously saved using Save(string).

Parameters
pathThe path the previous DetectLastAnomaly was saved to
Returns
New DetectLastAnomaly object, loaded from path.

◆ Read()

JavaMLReader<DetectLastAnomaly> Synapse.ML.Cognitive.DetectLastAnomaly.Read ( )

Get the corresponding JavaMLReader instance.

Returns
an JavaMLReader<DetectLastAnomaly> instance for this ML instance.

◆ Save()

void Synapse.ML.Cognitive.DetectLastAnomaly.Save ( string  path)

Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala.

Parameters
pathThe path to save the object to

◆ SetConcurrency()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetConcurrency ( int  value)

Sets value for concurrency

Parameters
valuemax number of concurrent calls
Returns
New DetectLastAnomaly object

◆ SetConcurrentTimeout()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetConcurrentTimeout ( double  value)

Sets value for concurrentTimeout

Parameters
valuemax number seconds to wait on futures if concurrency >= 1
Returns
New DetectLastAnomaly object

◆ SetCustomInterval()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetCustomInterval ( int  value)

Sets value for customInterval

Parameters
valueCustom Interval is used to set non-standard time interval, for example, if the series is 5 minutes, request can be set as granularity=minutely, customInterval=5.
Returns
New DetectLastAnomaly object

◆ SetCustomIntervalCol()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetCustomIntervalCol ( string  value)

Sets value for customInterval column

Parameters
valueCustom Interval is used to set non-standard time interval, for example, if the series is 5 minutes, request can be set as granularity=minutely, customInterval=5.
Returns
New DetectLastAnomaly object

◆ SetErrorCol()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetErrorCol ( string  value)

Sets value for errorCol

Parameters
valuecolumn to hold http errors
Returns
New DetectLastAnomaly object

◆ SetGranularity()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetGranularity ( string  value)

Sets value for granularity

Parameters
valueCan only be one of yearly, monthly, weekly, daily, hourly or minutely. Granularity is used for verify whether input series is valid.
Returns
New DetectLastAnomaly object

◆ SetGranularityCol()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetGranularityCol ( string  value)

Sets value for granularity column

Parameters
valueCan only be one of yearly, monthly, weekly, daily, hourly or minutely. Granularity is used for verify whether input series is valid.
Returns
New DetectLastAnomaly object

◆ SetHandler()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetHandler ( object  value)

Sets value for handler

Parameters
valueWhich strategy to use when handling requests
Returns
New DetectLastAnomaly object

◆ SetImputeFixedValue()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetImputeFixedValue ( double  value)

Sets value for imputeFixedValue

Parameters
valueOptional argument, fixed value to use when imputeMode is set to "fixed"
Returns
New DetectLastAnomaly object

◆ SetImputeFixedValueCol()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetImputeFixedValueCol ( string  value)

Sets value for imputeFixedValue column

Parameters
valueOptional argument, fixed value to use when imputeMode is set to "fixed"
Returns
New DetectLastAnomaly object

◆ SetImputeMode()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetImputeMode ( string  value)

Sets value for imputeMode

Parameters
valueOptional argument, impute mode of a time series. Possible values: auto, previous, linear, fixed, zero, notFill
Returns
New DetectLastAnomaly object

◆ SetImputeModeCol()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetImputeModeCol ( string  value)

Sets value for imputeMode column

Parameters
valueOptional argument, impute mode of a time series. Possible values: auto, previous, linear, fixed, zero, notFill
Returns
New DetectLastAnomaly object

◆ SetLinkedService()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetLinkedService ( string  value)

Sets value for linkedService

Parameters
valuelinkedService name
Returns
New DetectLastAnomaly object

◆ SetLocation()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetLocation ( string  value)

Sets value for location

Parameters
valueLocation of the cognitive service
Returns
New DetectLastAnomaly object

◆ SetMaxAnomalyRatio()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetMaxAnomalyRatio ( double  value)

Sets value for maxAnomalyRatio

Parameters
valueOptional argument, advanced model parameter, max anomaly ratio in a time series.
Returns
New DetectLastAnomaly object

◆ SetMaxAnomalyRatioCol()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetMaxAnomalyRatioCol ( string  value)

Sets value for maxAnomalyRatio column

Parameters
valueOptional argument, advanced model parameter, max anomaly ratio in a time series.
Returns
New DetectLastAnomaly object

◆ SetOutputCol()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetOutputCol ( string  value)

Sets value for outputCol

Parameters
valueThe name of the output column
Returns
New DetectLastAnomaly object

◆ SetPeriod()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetPeriod ( int  value)

Sets value for period

Parameters
valueOptional argument, periodic value of a time series. If the value is null or does not present, the API will determine the period automatically.
Returns
New DetectLastAnomaly object

◆ SetPeriodCol()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetPeriodCol ( string  value)

Sets value for period column

Parameters
valueOptional argument, periodic value of a time series. If the value is null or does not present, the API will determine the period automatically.
Returns
New DetectLastAnomaly object

◆ SetSensitivity()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetSensitivity ( int  value)

Sets value for sensitivity

Parameters
valueOptional argument, advanced model parameter, between 0-99, the lower the value is, the larger the margin value will be which means less anomalies will be accepted
Returns
New DetectLastAnomaly object

◆ SetSensitivityCol()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetSensitivityCol ( string  value)

Sets value for sensitivity column

Parameters
valueOptional argument, advanced model parameter, between 0-99, the lower the value is, the larger the margin value will be which means less anomalies will be accepted
Returns
New DetectLastAnomaly object

◆ SetSeries()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetSeries ( TimeSeriesPoint []  value)

Sets value for series

Parameters
valueTime series data points. Points should be sorted by timestamp in ascending order to match the anomaly detection result. If the data is not sorted correctly or there is duplicated timestamp, the API will not work. In such case, an error message will be returned.
Returns
New DetectLastAnomaly object

◆ SetSeriesCol()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetSeriesCol ( string  value)

Sets value for series column

Parameters
valueTime series data points. Points should be sorted by timestamp in ascending order to match the anomaly detection result. If the data is not sorted correctly or there is duplicated timestamp, the API will not work. In such case, an error message will be returned.
Returns
New DetectLastAnomaly object

◆ SetSubscriptionKey()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetSubscriptionKey ( string  value)

Sets value for subscriptionKey

Parameters
valuethe API key to use
Returns
New DetectLastAnomaly object

◆ SetSubscriptionKeyCol()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetSubscriptionKeyCol ( string  value)

Sets value for subscriptionKey column

Parameters
valuethe API key to use
Returns
New DetectLastAnomaly object

◆ SetTimeout()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetTimeout ( double  value)

Sets value for timeout

Parameters
valuenumber of seconds to wait before closing the connection
Returns
New DetectLastAnomaly object

◆ SetUrl()

DetectLastAnomaly Synapse.ML.Cognitive.DetectLastAnomaly.SetUrl ( string  value)

Sets value for url

Parameters
valueUrl of the service
Returns
New DetectLastAnomaly object

The documentation for this class was generated from the following file: