Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringAnomaly

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

Represents a single model monitoring anomaly.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelMonitoringAnomaly

Returns a new instance of GoogleCloudAiplatformV1beta1ModelMonitoringAnomaly.



16790
16791
16792
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16790

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#algorithmString

Algorithm used to calculated the metrics, eg: jensen_shannon_divergence, l_infinity. Corresponds to the JSON property algorithm

Returns:

  • (String)


16778
16779
16780
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16778

def algorithm
  @algorithm
end

#model_monitoring_jobString

Model monitoring job resource name. Corresponds to the JSON property modelMonitoringJob

Returns:

  • (String)


16783
16784
16785
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16783

def model_monitoring_job
  @model_monitoring_job
end

#tabular_anomalyGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringAnomalyTabularAnomaly

Tabular anomaly details. Corresponds to the JSON property tabularAnomaly



16788
16789
16790
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16788

def tabular_anomaly
  @tabular_anomaly
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16795
16796
16797
16798
16799
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16795

def update!(**args)
  @algorithm = args[:algorithm] if args.key?(:algorithm)
  @model_monitoring_job = args[:model_monitoring_job] if args.key?(:model_monitoring_job)
  @tabular_anomaly = args[:tabular_anomaly] if args.key?(:tabular_anomaly)
end