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>());
72VectorXf
multi_log_loss(
const VectorXf& y,
const ArrayXXf& predict_proba,
73 const vector<float>& class_weights=vector<float>());
85 const vector<float>& class_weights=vector<float>());
void bind_engine(py::module &m, string name)
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.
< nsga2 selection operator for getting the front
Namespace containing scoring functions for evaluation metrics.