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.Instances clustering​(weka.core.Instances instances, double percentileCutoff, java.lang.String positiveLabel)
    Cluster with percentileCutoff.
    void getResult​(weka.core.Instances instances, double percentileCutoff, java.lang.String positiveLabel, boolean suppress, boolean experimental, java.lang.String filePath)
    Get CLA result
    void getResult​(weka.core.Instances instances, double percentileCutoff, java.lang.String positiveLabel, boolean suppress, java.lang.String filePath)
    Get CLA result

    Methods inherited from class net.lifove.clami.CLA

    getLabelResult, printResult, removeNoiseMetrics

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.lifove.clami.ICLA

    printResult
  • Constructor Details

  • 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
      Specified by:
      getResult in interface ICLA
      Overrides:
      getResult in class CLA
      Parameters:
      instances -
      percentileCutoff - ; cutoff percentile for cluster
      positiveLabel - ; string value of positive label
      supress - detailed prediction results
      filePath - ; string value of file name
    • 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:
      getResult in interface ICLA
      Overrides:
      getResult in class CLA
      Parameters:
      instances -
      percentileCutoff - ; cutoff percentile for cluster
      positiveLabel - ; string value of positive label
      supress - detailed prediction results
      experimental - ; boolean value whether experimental or not
      filePath - ; 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:
      clustering in interface ICLA
      Overrides:
      clustering in class CLA
      Parameters:
      instances -
      percentileCutoff - ; cutoff percentile for cluster
      positiveLabel - ; string value of positive label