public class BTS
extends java.lang.Object
Title: BTS
Description: This class implements the BTS OVO scheme
Company: KEEL
Constructor and Description |
---|
BTS(Multiclassifier classifier,
float threshold,
OVO ovo)
Binary Tree of Classifiers constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
computeClass(double[] ejemplo)
It computes the class for a given example
|
void |
construct()
It constructs the balanced binary tree
|
void |
initialize()
It initilizes the root node of the tree
|
public BTS(Multiclassifier classifier, float threshold, OVO ovo)
classifier
- The OVO classifierthreshold
- The minimum threshold for accepting a class being only in one nodeovo
- The OVO methodologypublic void initialize()
public void construct()
public java.lang.String computeClass(double[] ejemplo)
ejemplo
- the example to be classified