Class DecisionBoundaryPlane

    • Constructor Detail

      • DecisionBoundaryPlane

        public DecisionBoundaryPlane​(weka.core.Instances data,
                                     int class1Idx,
                                     int class2Idx,
                                     Plane plane)
                              throws Exception
        Throws:
        Exception
      • DecisionBoundaryPlane

        public DecisionBoundaryPlane​(weka.core.Instances data,
                                     int class1Idx,
                                     int class2Idx)
                              throws Exception
        Throws:
        Exception
    • Method Detail

      • getDecisionPlane

        public Plane getDecisionPlane()
        Returns:
        the decisionPlane
      • getDistance

        public double getDistance​(weka.core.Instance instance)
                           throws Exception
        Description copied from interface: IDecisionBoundary
        Returns the smallest distance between the surface of the decision boundary and the instance
        Specified by:
        getDistance in interface IDecisionBoundary
        Returns:
        Throws:
        Exception
      • isDebug

        public boolean isDebug()
        Specified by:
        isDebug in interface weka.core.Debuggable
        Returns:
        the debug
      • setDebug

        public void setDebug​(boolean debug)
        Specified by:
        setDebug in interface weka.core.Debuggable
        Parameters:
        debug - the debug to set