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

#include <evaluation_metrics.h>

Inheritance diagram for google_bigquery_api::EvaluationMetrics:

Public Member Functions

 EvaluationMetrics (const Json::Value &storage)
 
 EvaluationMetrics (Json::Value *storage)
 
virtual ~EvaluationMetrics ()
 
const StringPiece GetTypeName () const
 
bool has_binary_classification_metrics () const
 
void clear_binary_classification_metrics ()
 
const BinaryClassificationMetrics get_binary_classification_metrics () const
 
BinaryClassificationMetrics mutable_binaryClassificationMetrics ()
 
bool has_clustering_metrics () const
 
void clear_clustering_metrics ()
 
const ClusteringMetrics get_clustering_metrics () const
 
ClusteringMetrics mutable_clusteringMetrics ()
 
bool has_multi_class_classification_metrics () const
 
void clear_multi_class_classification_metrics ()
 
const MultiClassClassificationMetrics get_multi_class_classification_metrics () const
 
MultiClassClassificationMetrics mutable_multiClassClassificationMetrics ()
 
bool has_regression_metrics () const
 
void clear_regression_metrics ()
 
const RegressionMetrics get_regression_metrics () const
 
RegressionMetrics mutable_regressionMetrics ()
 

Static Public Member Functions

static EvaluationMetricsNew ()
 

Detailed Description

Evaluation metrics of a model. These are either computed on all training data or just the eval data based on whether eval data was used during training. These are not present for imported models.

Constructor & Destructor Documentation

◆ EvaluationMetrics() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ EvaluationMetrics() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~EvaluationMetrics()

google_bigquery_api::EvaluationMetrics::~EvaluationMetrics ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_binary_classification_metrics()

void google_bigquery_api::EvaluationMetrics::clear_binary_classification_metrics ( )
inline

Clears the 'binaryClassificationMetrics' attribute.

◆ clear_clustering_metrics()

void google_bigquery_api::EvaluationMetrics::clear_clustering_metrics ( )
inline

Clears the 'clusteringMetrics' attribute.

◆ clear_multi_class_classification_metrics()

void google_bigquery_api::EvaluationMetrics::clear_multi_class_classification_metrics ( )
inline

Clears the 'multiClassClassificationMetrics' attribute.

◆ clear_regression_metrics()

void google_bigquery_api::EvaluationMetrics::clear_regression_metrics ( )
inline

Clears the 'regressionMetrics' attribute.

◆ get_binary_classification_metrics()

const BinaryClassificationMetrics google_bigquery_api::EvaluationMetrics::get_binary_classification_metrics ( ) const

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

◆ get_clustering_metrics()

const ClusteringMetrics google_bigquery_api::EvaluationMetrics::get_clustering_metrics ( ) const

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

◆ get_multi_class_classification_metrics()

const MultiClassClassificationMetrics google_bigquery_api::EvaluationMetrics::get_multi_class_classification_metrics ( ) const

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

◆ get_regression_metrics()

const RegressionMetrics google_bigquery_api::EvaluationMetrics::get_regression_metrics ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::EvaluationMetrics

◆ has_binary_classification_metrics()

bool google_bigquery_api::EvaluationMetrics::has_binary_classification_metrics ( ) const
inline

Determine if the 'binaryClassificationMetrics' attribute was set.

Returns
true if the 'binaryClassificationMetrics' attribute was set.

◆ has_clustering_metrics()

bool google_bigquery_api::EvaluationMetrics::has_clustering_metrics ( ) const
inline

Determine if the 'clusteringMetrics' attribute was set.

Returns
true if the 'clusteringMetrics' attribute was set.

◆ has_multi_class_classification_metrics()

bool google_bigquery_api::EvaluationMetrics::has_multi_class_classification_metrics ( ) const
inline

Determine if the 'multiClassClassificationMetrics' attribute was set.

Returns
true if the 'multiClassClassificationMetrics' attribute was set.

◆ has_regression_metrics()

bool google_bigquery_api::EvaluationMetrics::has_regression_metrics ( ) const
inline

Determine if the 'regressionMetrics' attribute was set.

Returns
true if the 'regressionMetrics' attribute was set.

◆ mutable_binaryClassificationMetrics()

BinaryClassificationMetrics google_bigquery_api::EvaluationMetrics::mutable_binaryClassificationMetrics ( )

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

Populated for binary classification/classifier models.

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

◆ mutable_clusteringMetrics()

ClusteringMetrics google_bigquery_api::EvaluationMetrics::mutable_clusteringMetrics ( )

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

Populated for clustering models.

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

◆ mutable_multiClassClassificationMetrics()

MultiClassClassificationMetrics google_bigquery_api::EvaluationMetrics::mutable_multiClassClassificationMetrics ( )

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

Populated for multi-class classification/classifier models.

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

◆ mutable_regressionMetrics()

RegressionMetrics google_bigquery_api::EvaluationMetrics::mutable_regressionMetrics ( )

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

Populated for regression models and explicit feedback type matrix factorization models.

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

◆ New()

EvaluationMetrics * google_bigquery_api::EvaluationMetrics::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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