Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class Evaluation.
Describes an evaluation between a machine learning model's predictions and ground truth labels. Created when an EvaluationJob runs successfully.
Generated from protobuf message google.cloud.datalabeling.v1beta1.Evaluation
Namespace
Google \ Cloud \ DataLabeling \ V1beta1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. Resource name of an evaluation. The name has the following format: "projects/ {project_id} /datasets/ {dataset_id} /evaluations/ {evaluation_id }'
↳ config
↳ evaluation_job_run_time
Google\Protobuf\Timestamp
Output only. Timestamp for when the evaluation job that created this evaluation ran.
↳ create_time
↳ evaluation_metrics
↳ annotation_type
int
Output only. Type of task that the model version being evaluated performs, as defined in the evaluationJobConfig.inputConfig.annotationType field of the evaluation job that created this evaluation.
↳ evaluated_item_count
int|string
Output only. The number of items in the ground truth dataset that were used for this evaluation. Only populated when the evaulation is for certain AnnotationTypes.
getName
Output only. Resource name of an evaluation. The name has the following format: "projects/ {project_id} /datasets/ {dataset_id} /evaluations/ {evaluation_id }'
string
setName
Output only. Resource name of an evaluation. The name has the following format: "projects/ {project_id} /datasets/ {dataset_id} /evaluations/ {evaluation_id }'
var
string
$this
getConfig
Output only. Options used in the evaluation job that created this evaluation.
hasConfig
clearConfig
setConfig
Output only. Options used in the evaluation job that created this evaluation.
$this
getEvaluationJobRunTime
Output only. Timestamp for when the evaluation job that created this evaluation ran.
hasEvaluationJobRunTime
clearEvaluationJobRunTime
setEvaluationJobRunTime
Output only. Timestamp for when the evaluation job that created this evaluation ran.
$this
getCreateTime
Output only. Timestamp for when this evaluation was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Timestamp for when this evaluation was created.
$this
getEvaluationMetrics
Output only. Metrics comparing predictions to ground truth labels.
hasEvaluationMetrics
clearEvaluationMetrics
setEvaluationMetrics
Output only. Metrics comparing predictions to ground truth labels.
$this
getAnnotationType
Output only. Type of task that the model version being evaluated performs, as defined in the evaluationJobConfig.inputConfig.annotationType field of the evaluation job that created this evaluation.
int
setAnnotationType
Output only. Type of task that the model version being evaluated performs, as defined in the evaluationJobConfig.inputConfig.annotationType field of the evaluation job that created this evaluation.
var
int
$this
getEvaluatedItemCount
Output only. The number of items in the ground truth dataset that were used for this evaluation. Only populated when the evaulation is for certain AnnotationTypes.
int|string
setEvaluatedItemCount
Output only. The number of items in the ground truth dataset that were used for this evaluation. Only populated when the evaulation is for certain AnnotationTypes.
var
int|string
$this