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

#include <confusion_matrix.h>

Inheritance diagram for google_bigquery_api::ConfusionMatrix:

Public Member Functions

 ConfusionMatrix (const Json::Value &storage)
 
 ConfusionMatrix (Json::Value *storage)
 
virtual ~ConfusionMatrix ()
 
const StringPiece GetTypeName () const
 
bool has_confidence_threshold () const
 
void clear_confidence_threshold ()
 
double get_confidence_threshold () const
 
void set_confidence_threshold (double value)
 
bool has_rows () const
 
void clear_rows ()
 
const client::JsonCppArray< Rowget_rows () const
 
client::JsonCppArray< Rowmutable_rows ()
 

Static Public Member Functions

static ConfusionMatrixNew ()
 

Detailed Description

Confusion matrix for multi-class classification models.

Constructor & Destructor Documentation

◆ ConfusionMatrix() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ConfusionMatrix() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ConfusionMatrix()

google_bigquery_api::ConfusionMatrix::~ConfusionMatrix ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_confidence_threshold()

void google_bigquery_api::ConfusionMatrix::clear_confidence_threshold ( )
inline

Clears the 'confidenceThreshold' attribute.

◆ clear_rows()

void google_bigquery_api::ConfusionMatrix::clear_rows ( )
inline

Clears the 'rows' attribute.

◆ get_confidence_threshold()

double google_bigquery_api::ConfusionMatrix::get_confidence_threshold ( ) const
inline

Get the value of the 'confidenceThreshold' attribute.

◆ get_rows()

const client::JsonCppArray<Row > google_bigquery_api::ConfusionMatrix::get_rows ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_bigquery_api::ConfusionMatrix

◆ has_confidence_threshold()

bool google_bigquery_api::ConfusionMatrix::has_confidence_threshold ( ) const
inline

Determine if the 'confidenceThreshold' attribute was set.

Returns
true if the 'confidenceThreshold' attribute was set.

◆ has_rows()

bool google_bigquery_api::ConfusionMatrix::has_rows ( ) const
inline

Determine if the 'rows' attribute was set.

Returns
true if the 'rows' attribute was set.

◆ mutable_rows()

client::JsonCppArray<Row > google_bigquery_api::ConfusionMatrix::mutable_rows ( )

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

One row per actual label.

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

◆ New()

ConfusionMatrix * google_bigquery_api::ConfusionMatrix::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_confidence_threshold()

void google_bigquery_api::ConfusionMatrix::set_confidence_threshold ( double  value)
inline

Change the 'confidenceThreshold' attribute.

Confidence threshold used when computing the entries of the confusion matrix.

Parameters
[in]valueThe new value.

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