Feat C++ API
A feature engineering automation tool
|
namespace containing various Evaluation classes used in Feat More...
Classes | |
class | Evaluation |
evaluation mixin class for Feat More... | |
class | Scorer |
scoring class for Feat More... | |
Typedefs | |
typedef float(* | funcPointer) (const VectorXf &, const shared_ptr< CLabels > &, VectorXf &, const vector< float > &) |
Functions | |
VectorXf | squared_difference (const VectorXf &y, const VectorXf &yhat) |
VectorXf | squared_difference (const VectorXf &y, shared_ptr< CLabels > &labels, const vector< float > &weights) |
VectorXf | d_squared_difference (const VectorXf &y, const VectorXf &yhat) |
VectorXf | d_squared_difference (const VectorXf &y, shared_ptr< CLabels > &labels, const vector< float > &weights) |
float | mse (const VectorXf &y, const VectorXf &yhat, VectorXf &loss, const vector< float > &weights) |
mean squared error More... | |
float | mse_label (const VectorXf &y, const shared_ptr< CLabels > &labels, VectorXf &loss, const vector< float > &weights) |
VectorXf | log_loss (const VectorXf &y, const VectorXf &yhat, const vector< float > &class_weights) |
VectorXf | log_loss (const VectorXf &y, shared_ptr< CLabels > &labels, const vector< float > &class_weights) |
float | mean_log_loss (const VectorXf &y, const VectorXf &yhat, VectorXf &loss, const vector< float > &class_weights) |
log loss More... | |
float | log_loss_label (const VectorXf &y, const shared_ptr< CLabels > &labels, VectorXf &loss, const vector< float > &class_weights) |
log loss More... | |
VectorXf | d_log_loss (const VectorXf &y, const VectorXf &yhat, const vector< float > &class_weights) |
VectorXf | d_log_loss (const VectorXf &y, shared_ptr< CLabels > &labels, const vector< float > &class_weights) |
VectorXf | multi_log_loss (const VectorXf &y, const ArrayXXf &confidences, const vector< float > &class_weights) |
multinomial log loss More... | |
float | mean_multi_log_loss (const VectorXf &y, const ArrayXXf &confidences, VectorXf &loss, const vector< float > &class_weights) |
float | multi_log_loss_label (const VectorXf &y, const shared_ptr< CLabels > &labels, VectorXf &loss, const vector< float > &class_weights) |
multinomial log loss More... | |
VectorXf | multi_log_loss (const VectorXf &y, shared_ptr< CLabels > &labels, const vector< float > &class_weights) |
VectorXf | d_multi_log_loss (const VectorXf &y, shared_ptr< CLabels > &labels, const vector< float > &class_weights) |
derivative of multinomial log loss More... | |
float | bal_zero_one_loss (const VectorXf &y, const VectorXf &yhat, VectorXf &loss, const vector< float > &class_weights) |
1 - balanced accuracy More... | |
float | bal_zero_one_loss_label (const VectorXf &y, const shared_ptr< CLabels > &labels, VectorXf &loss, const vector< float > &class_weights) |
float | zero_one_loss (const VectorXf &y, const VectorXf &yhat, VectorXf &loss, const vector< float > &class_weights) |
float | zero_one_loss_label (const VectorXf &y, const shared_ptr< CLabels > &labels, VectorXf &loss, const vector< float > &class_weights) |
1 - accuracy More... | |
float | false_positive_loss (const VectorXf &y, const VectorXf &yhat, VectorXf &loss, const vector< float > &class_weights) |
float | false_positive_loss_label (const VectorXf &y, const shared_ptr< CLabels > &labels, VectorXf &loss, const vector< float > &class_weights) |
false positive rate More... | |
namespace containing various Evaluation classes used in Feat
typedef float(* FT::Eval::funcPointer) (const VectorXf &, const shared_ptr< CLabels > &, VectorXf &, const vector< float > &) |
float FT::Eval::bal_zero_one_loss | ( | const VectorXf & | y, |
const VectorXf & | yhat, | ||
VectorXf & | loss, | ||
const vector< float > & | class_weights | ||
) |
1 - balanced accuracy
Definition at line 366 of file metrics.cc.
float FT::Eval::bal_zero_one_loss_label | ( | const VectorXf & | y, |
const shared_ptr< CLabels > & | labels, | ||
VectorXf & | loss, | ||
const vector< float > & | class_weights | ||
) |
Definition at line 412 of file metrics.cc.
VectorXf FT::Eval::d_log_loss | ( | const VectorXf & | y, |
const VectorXf & | yhat, | ||
const vector< float > & | class_weights | ||
) |
Definition at line 159 of file metrics.cc.
VectorXf FT::Eval::d_log_loss | ( | const VectorXf & | y, |
shared_ptr< CLabels > & | labels, | ||
const vector< float > & | class_weights | ||
) |
Definition at line 174 of file metrics.cc.
VectorXf FT::Eval::d_multi_log_loss | ( | const VectorXf & | y, |
shared_ptr< CLabels > & | labels, | ||
const vector< float > & | class_weights | ||
) |
derivative of multinomial log loss
Definition at line 303 of file metrics.cc.
VectorXf FT::Eval::d_squared_difference | ( | const VectorXf & | y, |
const VectorXf & | yhat | ||
) |
Definition at line 44 of file metrics.cc.
VectorXf FT::Eval::d_squared_difference | ( | const VectorXf & | y, |
shared_ptr< CLabels > & | labels, | ||
const vector< float > & | weights | ||
) |
Definition at line 50 of file metrics.cc.
float FT::Eval::false_positive_loss | ( | const VectorXf & | y, |
const VectorXf & | yhat, | ||
VectorXf & | loss, | ||
const vector< float > & | class_weights | ||
) |
Definition at line 457 of file metrics.cc.
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
Definition at line 468 of file metrics.cc.
VectorXf FT::Eval::log_loss | ( | const VectorXf & | y, |
const VectorXf & | yhat, | ||
const vector< float > & | class_weights | ||
) |
Definition at line 88 of file metrics.cc.
VectorXf FT::Eval::log_loss | ( | const VectorXf & | y, |
shared_ptr< CLabels > & | labels, | ||
const vector< float > & | class_weights | ||
) |
Definition at line 122 of file metrics.cc.
float FT::Eval::log_loss_label | ( | const VectorXf & | y, |
const shared_ptr< CLabels > & | labels, | ||
VectorXf & | loss, | ||
const vector< float > & | class_weights | ||
) |
log loss
Definition at line 147 of file metrics.cc.
float FT::Eval::mean_log_loss | ( | const VectorXf & | y, |
const VectorXf & | yhat, | ||
VectorXf & | loss, | ||
const vector< float > & | class_weights | ||
) |
log loss
Definition at line 136 of file metrics.cc.
float FT::Eval::mean_multi_log_loss | ( | const VectorXf & | y, |
const ArrayXXf & | confidences, | ||
VectorXf & | loss, | ||
const vector< float > & | class_weights | ||
) |
Definition at line 238 of file metrics.cc.
float FT::Eval::mse | ( | const VectorXf & | y, |
const VectorXf & | yhat, | ||
VectorXf & | loss, | ||
const vector< float > & | weights | ||
) |
mean squared error
Definition at line 70 of file metrics.cc.
float FT::Eval::mse_label | ( | const VectorXf & | y, |
const shared_ptr< CLabels > & | labels, | ||
VectorXf & | loss, | ||
const vector< float > & | weights | ||
) |
Definition at line 77 of file metrics.cc.
VectorXf FT::Eval::multi_log_loss | ( | const VectorXf & | y, |
const ArrayXXf & | confidences, | ||
const vector< float > & | class_weights | ||
) |
multinomial log loss
Definition at line 191 of file metrics.cc.
VectorXf FT::Eval::multi_log_loss | ( | const VectorXf & | y, |
shared_ptr< CLabels > & | labels, | ||
const vector< float > & | class_weights | ||
) |
Definition at line 283 of file metrics.cc.
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
Definition at line 250 of file metrics.cc.
VectorXf FT::Eval::squared_difference | ( | const VectorXf & | y, |
const VectorXf & | yhat | ||
) |
Definition at line 18 of file metrics.cc.
VectorXf FT::Eval::squared_difference | ( | const VectorXf & | y, |
shared_ptr< CLabels > & | labels, | ||
const vector< float > & | weights | ||
) |
Definition at line 23 of file metrics.cc.
float FT::Eval::zero_one_loss | ( | const VectorXf & | y, |
const VectorXf & | yhat, | ||
VectorXf & | loss, | ||
const vector< float > & | class_weights | ||
) |
Definition at line 435 of file metrics.cc.
float FT::Eval::zero_one_loss_label | ( | const VectorXf & | y, |
const shared_ptr< CLabels > & | labels, | ||
VectorXf & | loss, | ||
const vector< float > & | class_weights | ||
) |
1 - accuracy
Definition at line 444 of file metrics.cc.