public abstract class DecisionBoundary extends Object implements Serializable
Constructor and Description |
---|
DecisionBoundary(weka.core.Instances data,
int class1Idx,
int class2Idx) |
Modifier and Type | Method and Description |
---|---|
abstract double |
classify(weka.core.Instance instance)
Classify instance
|
int |
getClass1Idx() |
int |
getClass2Idx() |
weka.core.Instances |
getDatasetHeader() |
abstract double |
getDistance(weka.core.Instance instance)
Returns the smallest distance between the surface of the decision boundary and the instance
|
abstract int |
getIndex(weka.core.Instance instance)
Give the class index for the instance
|
abstract double |
getValue(weka.core.Instance instance)
Get value of the characteristic function of the decision boundary
|
String |
toString() |
public abstract int getIndex(weka.core.Instance instance) throws Exception
instance
- Exception
public abstract double classify(weka.core.Instance instance) throws Exception
instance
- Exception
public abstract double getValue(weka.core.Instance instance) throws Exception
instance
- Exception
public abstract double getDistance(weka.core.Instance instance) throws Exception
instance
- Exception
public weka.core.Instances getDatasetHeader()
public int getClass1Idx()
public int getClass2Idx()
Copyright © 2018. All Rights Reserved.