25float mse(
const VectorXf& y,
const VectorXf& yhat, VectorXf& loss,
26 const vector<float>& class_weights=vector<float>() );
37VectorXf
log_loss(
const VectorXf& y,
const VectorXf& predict_proba,
38 const vector<float>& class_weights=vector<float>());
48float mean_log_loss(
const VectorXf& y,
const VectorXf& predict_proba, VectorXf& loss,
49 const vector<float>& class_weights = vector<float>());
61 const vector<float>& class_weights=vector<float>());
71float zero_one_loss(
const VectorXf& y,
const VectorXf& predict_proba,
73 const vector<float>& class_weights=vector<float>() );
85 const vector<float>& class_weights=vector<float>() );
96VectorXf
multi_log_loss(
const VectorXf& y,
const ArrayXXf& predict_proba,
97 const vector<float>& class_weights=vector<float>());
109 const vector<float>& class_weights=vector<float>());
121 const vector<float>& class_weights=vector<float>() );
float multi_zero_one_loss(const VectorXf &y, const ArrayXXf &predict_proba, VectorXf &loss, const vector< float > &class_weights)
Accuracy for multi-classification.
float zero_one_loss(const VectorXf &y, const VectorXf &predict_proba, VectorXf &loss, const vector< float > &class_weights)
Accuracy for binary classification.
float mean_log_loss(const VectorXf &y, const VectorXf &predict_proba, VectorXf &loss, const vector< float > &class_weights)
log loss
float mean_multi_log_loss(const VectorXf &y, const ArrayXXf &predict_proba, VectorXf &loss, const vector< float > &class_weights)
Calculates the mean multinomial log loss between the predicted probabilities and the true labels.
float average_precision_score(const VectorXf &y, const VectorXf &predict_proba, VectorXf &loss, const vector< float > &class_weights)
Calculates the average precision score between the predicted probabilities and the true labels.
float mse(const VectorXf &y, const VectorXf &yhat, VectorXf &loss, const vector< float > &class_weights)
mean squared error
VectorXf multi_log_loss(const VectorXf &y, const ArrayXXf &predict_proba, const vector< float > &class_weights)
Calculates the multinomial log loss between the predicted probabilities and the true labels.
VectorXf log_loss(const VectorXf &y, const VectorXf &predict_proba, const vector< float > &class_weights)
Calculates the log loss between the predicted probabilities and the true labels.
float bal_zero_one_loss(const VectorXf &y, const VectorXf &predict_proba, VectorXf &loss, const vector< float > &class_weights)
Balanced accuracy for binary classification.
< nsga2 selection operator for getting the front
Namespace containing scoring functions for evaluation metrics.