Google Cloud Ai Platform V1 Client - Class PointwiseMetricResult (1.58.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.

↳ custom_output CustomOutput

Output only. Spec for custom output.

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

getCustomOutput

Output only. Spec for custom output.

Returns
Type Description
CustomOutput|null

hasCustomOutput

clearCustomOutput

setCustomOutput

Output only. Spec for custom output.

Parameter
Name Description
var CustomOutput
Returns
Type Description
$this