Package net.lifove.clami
Class CLAPlus
java.lang.Object
net.lifove.clami.CLA
net.lifove.clami.CLAPlus
- All Implemented Interfaces:
ICLA
public class CLAPlus extends CLA implements ICLA
This class run for CLA+.
-
Constructor Summary
Constructors Constructor Description CLAPlus() -
Method Summary
Modifier and Type Method Description weka.core.Instancesclustering(weka.core.Instances instances, double percentileCutoff, java.lang.String positiveLabel)Cluster with percentileCutoff.voidgetResult(weka.core.Instances instances, double percentileCutoff, java.lang.String positiveLabel, boolean suppress, boolean experimental, java.lang.String filePath)Get CLA resultvoidgetResult(weka.core.Instances instances, double percentileCutoff, java.lang.String positiveLabel, boolean suppress, java.lang.String filePath)Get CLA result
-
Constructor Details
-
CLAPlus
public CLAPlus()
-
-
Method Details
-
getResult
public void getResult(weka.core.Instances instances, double percentileCutoff, java.lang.String positiveLabel, boolean suppress, java.lang.String filePath)Get CLA result -
getResult
public void getResult(weka.core.Instances instances, double percentileCutoff, java.lang.String positiveLabel, boolean suppress, boolean experimental, java.lang.String filePath)Get CLA result- Specified by:
getResultin interfaceICLA- Overrides:
getResultin classCLA- Parameters:
instances-percentileCutoff- ; cutoff percentile for clusterpositiveLabel- ; string value of positive labelsupress- detailed prediction resultsexperimental- ; boolean value whether experimental or notfilePath- ; string value of file name
-
clustering
public weka.core.Instances clustering(weka.core.Instances instances, double percentileCutoff, java.lang.String positiveLabel)Cluster with percentileCutoff. Set class value to positive if K is higher than cutoff of cluster.- Specified by:
clusteringin interfaceICLA- Overrides:
clusteringin classCLA- Parameters:
instances-percentileCutoff- ; cutoff percentile for clusterpositiveLabel- ; string value of positive label
-