Google Cloud Ai Platform V1 Client - Class PointwiseMetricResult (1.10.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class PointwiseMetricResult.

Spec for pointwise metric result.

Generated from protobuf message google.cloud.aiplatform.v1.PointwiseMetricResult

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ score float

Output only. Pointwise metric score.

↳ explanation string

Output only. Explanation for pointwise metric score.

getScore

Output only. Pointwise metric score.

Returns
Type Description
float

hasScore

clearScore

setScore

Output only. Pointwise metric score.

Parameter
Name Description
var float
Returns
Type Description
$this

getExplanation

Output only. Explanation for pointwise metric score.

Returns
Type Description
string

setExplanation

Output only. Explanation for pointwise metric score.

Parameter
Name Description
var string
Returns
Type Description
$this