Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint

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 statistics data point.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint

Returns a new instance of GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint.



17961
17962
17963
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17961

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)


17923
17924
17925
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17923

def algorithm
  @algorithm
end

#baseline_statsGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPointTypedValue

Typed value of the statistics. Corresponds to the JSON property baselineStats



17928
17929
17930
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17928

def baseline_stats
  @baseline_stats
end

#create_timeString

Statistics create time. Corresponds to the JSON property createTime

Returns:

  • (String)


17933
17934
17935
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17933

def create_time
  @create_time
end

#current_statsGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPointTypedValue

Typed value of the statistics. Corresponds to the JSON property currentStats



17938
17939
17940
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17938

def current_stats
  @current_stats
end

#has_anomalyBoolean Also known as: has_anomaly?

Indicate if the statistics has anomaly. Corresponds to the JSON property hasAnomaly

Returns:

  • (Boolean)


17943
17944
17945
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17943

def has_anomaly
  @has_anomaly
end

#model_monitoring_jobString

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

Returns:

  • (String)


17949
17950
17951
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17949

def model_monitoring_job
  @model_monitoring_job
end

#scheduleString

Schedule resource name. Corresponds to the JSON property schedule

Returns:

  • (String)


17954
17955
17956
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17954

def schedule
  @schedule
end

#threshold_valueFloat

Threshold value. Corresponds to the JSON property thresholdValue

Returns:

  • (Float)


17959
17960
17961
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17959

def threshold_value
  @threshold_value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17966

def update!(**args)
  @algorithm = args[:algorithm] if args.key?(:algorithm)
  @baseline_stats = args[:baseline_stats] if args.key?(:baseline_stats)
  @create_time = args[:create_time] if args.key?(:create_time)
  @current_stats = args[:current_stats] if args.key?(:current_stats)
  @has_anomaly = args[:has_anomaly] if args.key?(:has_anomaly)
  @model_monitoring_job = args[:model_monitoring_job] if args.key?(:model_monitoring_job)
  @schedule = args[:schedule] if args.key?(:schedule)
  @threshold_value = args[:threshold_value] if args.key?(:threshold_value)
end