Feat C++ API
A feature engineering automation tool
metrics.h File Reference
#include <shogun/labels/Labels.h>
#include <shogun/labels/RegressionLabels.h>
#include <shogun/labels/MulticlassLabels.h>
#include <shogun/labels/BinaryLabels.h>
#include "../util/utils.h"
Include dependency graph for metrics.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 FT
 main Feat namespace
 
 FT::Eval
 namespace containing various Evaluation classes used in Feat
 

Functions

VectorXf FT::Eval::squared_difference (const VectorXf &y, const VectorXf &yhat)
 
VectorXf FT::Eval::squared_difference (const VectorXf &y, shared_ptr< CLabels > &labels, const vector< float > &weights)
 
VectorXf FT::Eval::d_squared_difference (const VectorXf &y, const VectorXf &yhat)
 
VectorXf FT::Eval::d_squared_difference (const VectorXf &y, shared_ptr< CLabels > &labels, const vector< float > &weights)
 
float FT::Eval::mse (const VectorXf &y, const VectorXf &yhat, VectorXf &loss, const vector< float > &weights)
 mean squared error More...
 
float FT::Eval::mse_label (const VectorXf &y, const shared_ptr< CLabels > &labels, VectorXf &loss, const vector< float > &weights)
 
VectorXf FT::Eval::log_loss (const VectorXf &y, const VectorXf &yhat, const vector< float > &class_weights)
 
VectorXf FT::Eval::log_loss (const VectorXf &y, shared_ptr< CLabels > &labels, const vector< float > &class_weights)
 
float FT::Eval::mean_log_loss (const VectorXf &y, const VectorXf &yhat, VectorXf &loss, const vector< float > &class_weights)
 log loss More...
 
float FT::Eval::log_loss_label (const VectorXf &y, const shared_ptr< CLabels > &labels, VectorXf &loss, const vector< float > &class_weights)
 log loss More...
 
VectorXf FT::Eval::d_log_loss (const VectorXf &y, const VectorXf &yhat, const vector< float > &class_weights)
 
VectorXf FT::Eval::d_log_loss (const VectorXf &y, shared_ptr< CLabels > &labels, const vector< float > &class_weights)
 
VectorXf FT::Eval::multi_log_loss (const VectorXf &y, const ArrayXXf &confidences, const vector< float > &class_weights)
 multinomial log loss More...
 
float FT::Eval::mean_multi_log_loss (const VectorXf &y, const ArrayXXf &confidences, VectorXf &loss, const vector< float > &class_weights)
 
float FT::Eval::multi_log_loss_label (const VectorXf &y, const shared_ptr< CLabels > &labels, VectorXf &loss, const vector< float > &class_weights)
 multinomial log loss More...
 
VectorXf FT::Eval::multi_log_loss (const VectorXf &y, shared_ptr< CLabels > &labels, const vector< float > &class_weights)
 
VectorXf FT::Eval::d_multi_log_loss (const VectorXf &y, shared_ptr< CLabels > &labels, const vector< float > &class_weights)
 derivative of multinomial log loss More...
 
float FT::Eval::bal_zero_one_loss (const VectorXf &y, const VectorXf &yhat, VectorXf &loss, const vector< float > &class_weights)
 1 - balanced accuracy More...
 
float FT::Eval::bal_zero_one_loss_label (const VectorXf &y, const shared_ptr< CLabels > &labels, VectorXf &loss, const vector< float > &class_weights)
 
float FT::Eval::zero_one_loss (const VectorXf &y, const VectorXf &yhat, VectorXf &loss, const vector< float > &class_weights)
 
float FT::Eval::zero_one_loss_label (const VectorXf &y, const shared_ptr< CLabels > &labels, VectorXf &loss, const vector< float > &class_weights)
 1 - accuracy More...
 
float FT::Eval::false_positive_loss (const VectorXf &y, const VectorXf &yhat, VectorXf &loss, const vector< float > &class_weights)
 
float FT::Eval::false_positive_loss_label (const VectorXf &y, const shared_ptr< CLabels > &labels, VectorXf &loss, const vector< float > &class_weights)
 false positive rate More...