26 const shared_ptr<CLabels>&,
28 const vector<float>&);
43 void set_scorer(
string scorer);
45 float score(
const VectorXf& y_true,
46 const shared_ptr<CLabels>& yhat,
48 const vector<float>& w);
49 float score(
const VectorXf& y_true,
50 const shared_ptr<CLabels>& yhat,
51 vector<float> w=vector<float>());
std::map< string, funcPointer > score_hash
float(* funcPointer)(const VectorXf &, const shared_ptr< CLabels > &, VectorXf &, const vector< float > &)