libeblearn
ebl::max_classer< T > Class Template Reference

#include <ebl_logger.h>

List of all members.

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

Detailed Description

template<class T>
class ebl::max_classer< T >

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.


Constructor & Destructor Documentation

template<class T >
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.


The documentation for this class was generated from the following files: