#include <confusion_matrix.h>
Confusion matrix for multi-class classification models.
◆ ConfusionMatrix() [1/2]
google_bigquery_api::ConfusionMatrix::ConfusionMatrix |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~ConfusionMatrix()
google_bigquery_api::ConfusionMatrix::~ConfusionMatrix |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
The documentation for this class was generated from the following files: