scoring class for Feat
More...
#include <scorer.h>
|
| Scorer (string scorer="") |
|
void | set_scorer (string scorer) |
|
float | score (const VectorXf &y_true, const shared_ptr< CLabels > &yhat, VectorXf &loss, const vector< float > &w) |
|
float | score (const VectorXf &y_true, const shared_ptr< CLabels > &yhat, vector< float > w=vector< float >()) |
|
scoring class for Feat
Definition at line 30 of file scorer.h.
◆ Scorer()
FT::Eval::Scorer::Scorer |
( |
string |
scorer = "" | ) |
|
◆ score() [1/2]
float FT::Eval::Scorer::score |
( |
const VectorXf & |
y_true, |
|
|
const shared_ptr< CLabels > & |
yhat, |
|
|
vector< float > |
w = vector<float>() |
|
) |
| |
◆ score() [2/2]
float FT::Eval::Scorer::score |
( |
const VectorXf & |
y_true, |
|
|
const shared_ptr< CLabels > & |
yhat, |
|
|
VectorXf & |
loss, |
|
|
const vector< float > & |
w |
|
) |
| |
◆ set_scorer()
void FT::Eval::Scorer::set_scorer |
( |
string |
scorer | ) |
|
◆ score_hash
std::map<string, funcPointer> FT::Eval::Scorer::score_hash |
◆ scorer
string FT::Eval::Scorer::scorer |
The documentation for this class was generated from the following files: