public class AccMethodFMeasure extends Object implements AccMethodTwoValued, AccMethodWithBeta
| Constructor and Description |
|---|
AccMethodFMeasure() |
AccMethodFMeasure(boolean init) |
| Modifier and Type | Method and Description |
|---|---|
double |
getAccOrTooWeak2(int tp,
int fn,
int fp,
int tn,
double noise)
Compute accuracy according to this method
|
void |
init()
Method to be called after the component has been configured.
|
void |
setBeta(double beta)
set the beta value;
the consumer of the accuracy method should call this on all implementing accuracy methods
|
public AccMethodFMeasure()
public AccMethodFMeasure(boolean init)
public void init()
Componentpublic double getAccOrTooWeak2(int tp, int fn, int fp, int tn, double noise)
AccMethodTwoValuedgetAccOrTooWeak2 in interface AccMethodTwoValuedtp - True Positives (positive as positive)fn - False Negative (positive as negative)fp - False Positive (negative as positive)tn - True Negative (negative as negative)noise - Noisepublic void setBeta(double beta)
AccMethodWithBetasetBeta in interface AccMethodWithBeta
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann