Package net.lifove.clami
Class CLABI
java.lang.Object
net.lifove.clami.CLABI
- Direct Known Subclasses:
CLABIPlus
public class CLABI extends java.lang.Object implements ICLAMI
This class run for CLABI.
-
Method Summary
Modifier and Type Method Description weka.core.Instancesclustering(weka.core.Instances instances, double percentileCutoff, java.lang.String positiveLabel)To do clusteringvoidgetCLABITrainingSet(java.lang.Object[] keys, weka.core.Instances instances, java.lang.String positiveLabel, double percentileCutoff)To do clusteringvoidgetCLAMITrainingSet(java.lang.Object[] keys, weka.core.Instances instances, java.lang.String positiveLabel, double percentileCutoff)To do clusteringstatic voidgetLabeling(weka.core.Instances instances, java.lang.String positiveLabel)Get Final TrainingModelvoidgetPredictedLabels(boolean suppress, weka.core.Instances instances)Get Final predicted labelsvoidgetProbabiltyOfIdx()Get predicted index and the probability of itvoidgetResult(weka.core.Instances instances, double percentileCutoff, java.lang.String positiveLabel, boolean suppress, boolean experimental, java.lang.String filePath)Get CLABI resultvoidgetResult(weka.core.Instances instances, double percentileCutoff, java.lang.String positiveLabel, boolean suppress, java.lang.String filePath)Get CLABI resultvoidprintResult(weka.core.Instances instances, boolean experimental, java.lang.String filePath, boolean suppress, java.lang.String positiveLabel)Get the result printed
-
Method Details
-
getResult
public void getResult(weka.core.Instances instances, double percentileCutoff, java.lang.String positiveLabel, boolean suppress, java.lang.String filePath)Get CLABI result -
getResult
public void getResult(weka.core.Instances instances, double percentileCutoff, java.lang.String positiveLabel, boolean suppress, boolean experimental, java.lang.String filePath)Get CLABI result -
clustering
public weka.core.Instances clustering(weka.core.Instances instances, double percentileCutoff, java.lang.String positiveLabel)To do clustering- Specified by:
clusteringin interfaceICLA- Parameters:
instances-percentileCutoff- cutoff percentile for top and bottom clusterspositiveLabel- positive label string value
-
getCLAMITrainingSet
public void getCLAMITrainingSet(java.lang.Object[] keys, weka.core.Instances instances, java.lang.String positiveLabel, double percentileCutoff)To do clustering- Specified by:
getCLAMITrainingSetin interfaceICLAMI- Parameters:
instances-percentileCutoff- cutoff percentile for top and bottom clusterspositiveLabel- positive label string value
-
getCLABITrainingSet
public void getCLABITrainingSet(java.lang.Object[] keys, weka.core.Instances instances, java.lang.String positiveLabel, double percentileCutoff)To do clustering- Parameters:
instances-percentileCutoff- cutoff percentile for top and bottom clusterspositiveLabel- positive label string value
-
getProbabiltyOfIdx
public void getProbabiltyOfIdx()Get predicted index and the probability of it -
getLabeling
public static void getLabeling(weka.core.Instances instances, java.lang.String positiveLabel)Get Final TrainingModel- Parameters:
instances-positiveLabel-
-
getPredictedLabels
public void getPredictedLabels(boolean suppress, weka.core.Instances instances)Get Final predicted labels- Specified by:
getPredictedLabelsin interfaceICLAMI- Parameters:
suppress-get- final labeling
-
printResult
public void printResult(weka.core.Instances instances, boolean experimental, java.lang.String filePath, boolean suppress, java.lang.String positiveLabel)Get the result printed- Specified by:
printResultin interfaceICLA- Parameters:
instances-isExperimental- : to check if experiment option is onfilePath- : name of the running filesuppress- detailed prediction resultspositiveLabel- positive label string value
-