Augustus 3.4.0
|
Contains features for bins of a probability (or a score). More...
#include <merkmal.hh>
Public Member Functions | |
BinnedMMGroup (string name, int monotonic=0) | |
void | reset () |
void | removeOrigs () |
void | addProb (Double p) |
void | trainBins (int maxNumBins) |
void | monotonify () |
void | printBoundaries () |
int | getIndex (Double p) |
Double | factor (Double p) |
void | write (ostream &out) |
void | read (ifstream &in) |
Double | getMinProb (float qthresh) |
Double * | getFactor (int index) |
string | verbalDescription (int index) |
void | smooth () |
int | getNumPars () |
![]() | |
MMGroup (string name) | |
void | registerPars (Parameters *parameters, double alphavalue=1.0) |
void | addCount (int index, int count=1) |
int | getOffset () |
void | setOffset (int offset) |
void | setName (string name) |
Public Attributes | |
int | monotonic |
int | nbins |
vector< Double > | origprobs |
vector< Double > | bb |
vector< Double > | avprobs |
Additional Inherited Members | |
![]() | |
string | parname |
int | numPars |
Contains features for bins of a probability (or a score).
E.g. when a probability is mapped to a piecewise constant function. Used to make features for signal models where a pattern probability previously existed. Avoids overfitting.
|
inlinevirtual |
Reimplemented from MMGroup.
|
inlinevirtual |
Reimplemented from MMGroup.
|
virtual |
Implements MMGroup.