Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint
- 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
-
#algorithm ⇒ String
Algorithm used to calculated the metrics, eg: jensen_shannon_divergence, l_infinity.
-
#baseline_stats ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPointTypedValue
Typed value of the statistics.
-
#create_time ⇒ String
Statistics create time.
-
#current_stats ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPointTypedValue
Typed value of the statistics.
-
#has_anomaly ⇒ Boolean
(also: #has_anomaly?)
Indicate if the statistics has anomaly.
-
#model_monitoring_job ⇒ String
Model monitoring job resource name.
-
#schedule ⇒ String
Schedule resource name.
-
#threshold_value ⇒ Float
Threshold value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint
constructor
A new instance of GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint
Returns a new instance of GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint.
17349 17350 17351 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17349 def initialize(**args) update!(**args) end |
Instance Attribute Details
#algorithm ⇒ String
Algorithm used to calculated the metrics, eg: jensen_shannon_divergence,
l_infinity.
Corresponds to the JSON property algorithm
17311 17312 17313 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17311 def algorithm @algorithm end |
#baseline_stats ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPointTypedValue
Typed value of the statistics.
Corresponds to the JSON property baselineStats
17316 17317 17318 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17316 def baseline_stats @baseline_stats end |
#create_time ⇒ String
Statistics create time.
Corresponds to the JSON property createTime
17321 17322 17323 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17321 def create_time @create_time end |
#current_stats ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPointTypedValue
Typed value of the statistics.
Corresponds to the JSON property currentStats
17326 17327 17328 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17326 def current_stats @current_stats end |
#has_anomaly ⇒ Boolean Also known as: has_anomaly?
Indicate if the statistics has anomaly.
Corresponds to the JSON property hasAnomaly
17331 17332 17333 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17331 def has_anomaly @has_anomaly end |
#model_monitoring_job ⇒ String
Model monitoring job resource name.
Corresponds to the JSON property modelMonitoringJob
17337 17338 17339 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17337 def model_monitoring_job @model_monitoring_job end |
#schedule ⇒ String
Schedule resource name.
Corresponds to the JSON property schedule
17342 17343 17344 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17342 def schedule @schedule end |
#threshold_value ⇒ Float
Threshold value.
Corresponds to the JSON property thresholdValue
17347 17348 17349 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17347 def threshold_value @threshold_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17354 17355 17356 17357 17358 17359 17360 17361 17362 17363 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17354 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 |