Google Cloud Datalabeling V1beta1 Client - Class EvaluationJobAlertConfig (0.5.6)

Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class EvaluationJobAlertConfig.

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

Generated from protobuf message google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig

Namespace

Google \ Cloud \ DataLabeling \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ email string

Required. An email address to send alerts to.

↳ min_acceptable_mean_average_precision float

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.

getEmail

Required. An email address to send alerts to.

Returns
Type Description
string

setEmail

Required. An email address to send alerts to.

Parameter
Name Description
var string
Returns
Type Description
$this

getMinAcceptableMeanAveragePrecision

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.

Returns
Type Description
float

setMinAcceptableMeanAveragePrecision

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.

Parameter
Name Description
var float
Returns
Type Description
$this