bigquery  v2
Public Member Functions | Static Public Member Functions | List of all members
google_bigquery_api::IterationResult Class Reference

#include <iteration_result.h>

Inheritance diagram for google_bigquery_api::IterationResult:

Public Member Functions

 IterationResult (const Json::Value &storage)
 
 IterationResult (Json::Value *storage)
 
virtual ~IterationResult ()
 
const StringPiece GetTypeName () const
 
bool has_arima_result () const
 
void clear_arima_result ()
 
const ArimaResult get_arima_result () const
 
ArimaResult mutable_arimaResult ()
 
bool has_cluster_infos () const
 
void clear_cluster_infos ()
 
const client::JsonCppArray< ClusterInfoget_cluster_infos () const
 
client::JsonCppArray< ClusterInfomutable_clusterInfos ()
 
bool has_duration_ms () const
 
void clear_duration_ms ()
 
int64 get_duration_ms () const
 
void set_duration_ms (int64 value)
 
bool has_eval_loss () const
 
void clear_eval_loss ()
 
double get_eval_loss () const
 
void set_eval_loss (double value)
 
bool has_index () const
 
void clear_index ()
 
int32 get_index () const
 
void set_index (int32 value)
 
bool has_learn_rate () const
 
void clear_learn_rate ()
 
double get_learn_rate () const
 
void set_learn_rate (double value)
 
bool has_training_loss () const
 
void clear_training_loss ()
 
double get_training_loss () const
 
void set_training_loss (double value)
 

Static Public Member Functions

static IterationResultNew ()
 

Detailed Description

Information about a single iteration of the training run.

Constructor & Destructor Documentation

◆ IterationResult() [1/2]

google_bigquery_api::IterationResult::IterationResult ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ IterationResult() [2/2]

google_bigquery_api::IterationResult::IterationResult ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~IterationResult()

google_bigquery_api::IterationResult::~IterationResult ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_arima_result()

void google_bigquery_api::IterationResult::clear_arima_result ( )
inline

Clears the 'arimaResult' attribute.

◆ clear_cluster_infos()

void google_bigquery_api::IterationResult::clear_cluster_infos ( )
inline

Clears the 'clusterInfos' attribute.

◆ clear_duration_ms()

void google_bigquery_api::IterationResult::clear_duration_ms ( )
inline

Clears the 'durationMs' attribute.

◆ clear_eval_loss()

void google_bigquery_api::IterationResult::clear_eval_loss ( )
inline

Clears the 'evalLoss' attribute.

◆ clear_index()

void google_bigquery_api::IterationResult::clear_index ( )
inline

Clears the 'index' attribute.

◆ clear_learn_rate()

void google_bigquery_api::IterationResult::clear_learn_rate ( )
inline

Clears the 'learnRate' attribute.

◆ clear_training_loss()

void google_bigquery_api::IterationResult::clear_training_loss ( )
inline

Clears the 'trainingLoss' attribute.

◆ get_arima_result()

const ArimaResult google_bigquery_api::IterationResult::get_arima_result ( ) const

Get a reference to the value of the 'arimaResult' attribute.

◆ get_cluster_infos()

const client::JsonCppArray<ClusterInfo > google_bigquery_api::IterationResult::get_cluster_infos ( ) const

Get a reference to the value of the 'clusterInfos' attribute.

◆ get_duration_ms()

int64 google_bigquery_api::IterationResult::get_duration_ms ( ) const
inline

Get the value of the 'durationMs' attribute.

◆ get_eval_loss()

double google_bigquery_api::IterationResult::get_eval_loss ( ) const
inline

Get the value of the 'evalLoss' attribute.

◆ get_index()

int32 google_bigquery_api::IterationResult::get_index ( ) const
inline

Get the value of the 'index' attribute.

◆ get_learn_rate()

double google_bigquery_api::IterationResult::get_learn_rate ( ) const
inline

Get the value of the 'learnRate' attribute.

◆ get_training_loss()

double google_bigquery_api::IterationResult::get_training_loss ( ) const
inline

Get the value of the 'trainingLoss' attribute.

◆ GetTypeName()

const StringPiece google_bigquery_api::IterationResult::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::IterationResult

◆ has_arima_result()

bool google_bigquery_api::IterationResult::has_arima_result ( ) const
inline

Determine if the 'arimaResult' attribute was set.

Returns
true if the 'arimaResult' attribute was set.

◆ has_cluster_infos()

bool google_bigquery_api::IterationResult::has_cluster_infos ( ) const
inline

Determine if the 'clusterInfos' attribute was set.

Returns
true if the 'clusterInfos' attribute was set.

◆ has_duration_ms()

bool google_bigquery_api::IterationResult::has_duration_ms ( ) const
inline

Determine if the 'durationMs' attribute was set.

Returns
true if the 'durationMs' attribute was set.

◆ has_eval_loss()

bool google_bigquery_api::IterationResult::has_eval_loss ( ) const
inline

Determine if the 'evalLoss' attribute was set.

Returns
true if the 'evalLoss' attribute was set.

◆ has_index()

bool google_bigquery_api::IterationResult::has_index ( ) const
inline

Determine if the 'index' attribute was set.

Returns
true if the 'index' attribute was set.

◆ has_learn_rate()

bool google_bigquery_api::IterationResult::has_learn_rate ( ) const
inline

Determine if the 'learnRate' attribute was set.

Returns
true if the 'learnRate' attribute was set.

◆ has_training_loss()

bool google_bigquery_api::IterationResult::has_training_loss ( ) const
inline

Determine if the 'trainingLoss' attribute was set.

Returns
true if the 'trainingLoss' attribute was set.

◆ mutable_arimaResult()

ArimaResult google_bigquery_api::IterationResult::mutable_arimaResult ( )

Gets a reference to a mutable value of the 'arimaResult' property.

Returns
The result can be modified to change the attribute value.

◆ mutable_clusterInfos()

client::JsonCppArray<ClusterInfo > google_bigquery_api::IterationResult::mutable_clusterInfos ( )

Gets a reference to a mutable value of the 'clusterInfos' property.

Information about top clusters for clustering models.

Returns
The result can be modified to change the attribute value.

◆ New()

IterationResult * google_bigquery_api::IterationResult::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_duration_ms()

void google_bigquery_api::IterationResult::set_duration_ms ( int64  value)
inline

Change the 'durationMs' attribute.

Time taken to run the iteration in milliseconds.

Parameters
[in]valueThe new value.

◆ set_eval_loss()

void google_bigquery_api::IterationResult::set_eval_loss ( double  value)
inline

Change the 'evalLoss' attribute.

Loss computed on the eval data at the end of iteration.

Parameters
[in]valueThe new value.

◆ set_index()

void google_bigquery_api::IterationResult::set_index ( int32  value)
inline

Change the 'index' attribute.

Index of the iteration, 0 based.

Parameters
[in]valueThe new value.

◆ set_learn_rate()

void google_bigquery_api::IterationResult::set_learn_rate ( double  value)
inline

Change the 'learnRate' attribute.

Learn rate used for this iteration.

Parameters
[in]valueThe new value.

◆ set_training_loss()

void google_bigquery_api::IterationResult::set_training_loss ( double  value)
inline

Change the 'trainingLoss' attribute.

Loss computed on the training data at the end of iteration.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: