#include <model_definition.h>
[Output-only, Beta] Model options used for the first training run. These options are immutable for subsequent training runs. Default values are used for any options not specified in the input query.
◆ ModelDefinitionModelOptions() [1/2]
google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::ModelDefinitionModelOptions |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ModelDefinitionModelOptions() [2/2]
google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::ModelDefinitionModelOptions |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~ModelDefinitionModelOptions()
google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::~ModelDefinitionModelOptions |
( |
| ) |
|
|
virtual |
◆ clear_labels()
void google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::clear_labels |
( |
| ) |
|
|
inline |
Clears the 'labels
' attribute.
◆ clear_loss_type()
void google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::clear_loss_type |
( |
| ) |
|
|
inline |
Clears the 'lossType
' attribute.
◆ clear_model_type()
void google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::clear_model_type |
( |
| ) |
|
|
inline |
Clears the 'modelType
' attribute.
◆ get_labels()
const client::JsonCppArray<string > google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::get_labels |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'labels
' attribute.
◆ get_loss_type()
const StringPiece google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::get_loss_type |
( |
| ) |
const |
|
inline |
Get the value of the 'lossType
' attribute.
◆ get_model_type()
const StringPiece google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::get_model_type |
( |
| ) |
const |
|
inline |
Get the value of the 'modelType
' attribute.
◆ GetTypeName()
const StringPiece google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::GetTypeName |
( |
| ) |
const |
|
inline |
Returns a string denoting the type of this data object.
- Returns
google_bigquery_api::ModelDefinitionModelOptions
◆ has_labels()
bool google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::has_labels |
( |
| ) |
const |
|
inline |
Determine if the 'labels
' attribute was set.
- Returns
- true if the '
labels
' attribute was set.
◆ has_loss_type()
bool google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::has_loss_type |
( |
| ) |
const |
|
inline |
Determine if the 'lossType
' attribute was set.
- Returns
- true if the '
lossType
' attribute was set.
◆ has_model_type()
bool google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::has_model_type |
( |
| ) |
const |
|
inline |
Determine if the 'modelType
' attribute was set.
- Returns
- true if the '
modelType
' attribute was set.
◆ mutable_labels()
client::JsonCppArray<string > google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::mutable_labels |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'labels
' property.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_loss_type()
void google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::set_loss_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'lossType
' attribute.
- Parameters
-
◆ set_model_type()
void google_bigquery_api::ModelDefinition::ModelDefinitionModelOptions::set_model_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'modelType
' attribute.
- Parameters
-
The documentation for this class was generated from the following files: