|
Brush C++ API
A flexible interpretable machine learning framework
|
#include <scorer.h>

Public Member Functions | |
| Scorer (string scorer="mse") | |
| void | set_scorer (string scorer) |
| string | get_scorer () |
| float | score (const VectorXf &y_true, const VectorXf &y_pred, VectorXf &loss, const vector< float > &w) |
| float | score (Individual< P > &ind, Dataset &data, VectorXf &loss, const Parameters ¶ms) |
Public Attributes | |
| std::map< string, funcPointer > | score_hash |
| string | scorer |
Private Types | |
| using | RetType |
| typedef float(* | funcPointer) (const VectorXf &, const VectorXf &, VectorXf &, const vector< float > &) |
|
private |
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| std::map<string, funcPointer> Brush::Eval::Scorer< P >::score_hash |
| string Brush::Eval::Scorer< P >::scorer |