Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class CometSpec.
Spec for Comet metric.
Generated from protobuf message google.cloud.aiplatform.v1.CometSpec
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ version |
int
Required. Which version to use for evaluation. |
↳ source_language |
string
Optional. Source language in BCP-47 format. |
↳ target_language |
string
Optional. Target language in BCP-47 format. Covers both prediction and reference. |
getVersion
Required. Which version to use for evaluation.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasVersion
clearVersion
setVersion
Required. Which version to use for evaluation.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSourceLanguage
Optional. Source language in BCP-47 format.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSourceLanguage
Optional. Source language in BCP-47 format.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTargetLanguage
Optional. Target language in BCP-47 format. Covers both prediction and reference.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTargetLanguage
Optional. Target language in BCP-47 format. Covers both prediction and reference.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|