class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig

Provides details for how an evaluation job sends email alerts based on the results of a run.

Attributes

email[RW]

Required. An email address to send alerts to. Corresponds to the JSON property `email` @return [String]

min_acceptable_mean_average_precision[RW]

Required. A number between 0 and 1 that describes a minimum mean average precision threshold. When the evaluation job runs, if it calculates that your model version's predictions from the recent interval have meanAveragePrecision below this threshold, then it sends an alert to your specified email. Corresponds to the JSON property `minAcceptableMeanAveragePrecision` @return [Float]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 1889
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 1894
def update!(**args)
  @email = args[:email] if args.key?(:email)
  @min_acceptable_mean_average_precision = args[:min_acceptable_mean_average_precision] if args.key?(:min_acceptable_mean_average_precision)
end