libeblearn
|
#include <ebl_logger.h>
Public Member Functions | |
max_classer (idx< ubyte > *classes) | |
void | fprop (fstate_idx< T > *in, class_state *out) |
Public Attributes | |
idx< ubyte > * | classindex2label |
a vector that maps output unit index to a label |
a module that takes an fstate_idx, finds the lowest value and output the label associated with the index (in the first dimension of the state) of this lowest value. It actually sorts the labels according to their score (or costs) and outputs the sorted list.
ebl::max_classer< T >::max_classer | ( | idx< ubyte > * | classes | ) |
makes a new max-classer. <classes> is an integer vector which contains the labels associated with each output.