Package net.lifove.clami
Class Main
java.lang.Object
net.lifove.clami.Main
- All Implemented Interfaces:
IPercentileSelector
public class Main extends java.lang.Object implements IPercentileSelector
Main class that executes CLAMI according to proper version.
-
Constructor Summary
Constructors Constructor Description Main() -
Method Summary
Modifier and Type Method Description doublegetBottomPercentileCutoff(weka.core.Instances instances, java.lang.String positiveLabel)doublegetOptimalPercentile(weka.core.Instances instances, java.lang.String positiveLabel, java.lang.String percentileOption)doublegetTopPercentileCutoff(weka.core.Instances instances, java.lang.String positiveLabel)static voidmain(java.lang.String[] args)
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
main
public static void main(java.lang.String[] args) throws java.io.FileNotFoundException, java.io.IOException- Throws:
java.io.FileNotFoundExceptionjava.io.IOException
-
getOptimalPercentile
public double getOptimalPercentile(weka.core.Instances instances, java.lang.String positiveLabel, java.lang.String percentileOption) -
getTopPercentileCutoff
public double getTopPercentileCutoff(weka.core.Instances instances, java.lang.String positiveLabel)- Specified by:
getTopPercentileCutoffin interfaceIPercentileSelector
-
getBottomPercentileCutoff
public double getBottomPercentileCutoff(weka.core.Instances instances, java.lang.String positiveLabel)- Specified by:
getBottomPercentileCutoffin interfaceIPercentileSelector
-