public class AccMethodJaccard extends Object implements AccMethodTwoValued
Constructor and Description |
---|
AccMethodJaccard() |
AccMethodJaccard(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.
|
public AccMethodJaccard()
public AccMethodJaccard(boolean init)
public void init()
Component
public double getAccOrTooWeak2(int tp, int fn, int fp, int tn, double noise)
AccMethodTwoValued
getAccOrTooWeak2
in interface AccMethodTwoValued
tp
- True Positives (positive as positive)fn
- False Negative (positive as negative)fp
- False Positive (negative as positive)tn
- True Negative (negative as negative)noise
- Noise DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann