Interface IDecisionBoundary
- All Known Implementing Classes:
DecisionBoundary
,DecisionBoundaryPlane
public interface IDecisionBoundary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
classify
(weka.core.Instance instance) Classify instanceint
int
weka.core.Instances
double
getDistance
(weka.core.Instance instance) Returns the smallest distance between the surface of the decision boundary and the instanceint
getIndex
(weka.core.Instance instance) Give the class index for the instancedouble
getValue
(weka.core.Instance instance) Get value of the characteristic function of the decision boundary
-
Method Details
-
getIndex
Give the class index for the instance- Parameters:
instance
-- Throws:
Exception
-
classify
Classify instance- Parameters:
instance
-- Returns:
- Throws:
Exception
-
getValue
Get value of the characteristic function of the decision boundary- Parameters:
instance
-- Returns:
- Throws:
Exception
-
getDistance
Returns the smallest distance between the surface of the decision boundary and the instance- Parameters:
instance
-- Returns:
- Throws:
Exception
-
getDatasetHeader
weka.core.Instances getDatasetHeader()- Returns:
- the datasetHeader
-
getClass1Idx
int getClass1Idx()- Returns:
- the class1Idx
-
getClass2Idx
int getClass2Idx()- Returns:
- the class2Idx
-