|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.lip6.classifier.BKM<T>
public class BKM<T extends MLVector<?>>
| Constructor Summary | |
|---|---|
BKM(Kernel<T> k,
int numberOfBarycenter)
|
|
| Method Summary | |
|---|---|
T[] |
getG()
|
double[] |
getGY()
|
void |
train(T[] e,
int[] c)
Replace the current training and train the classifier |
void |
train(T e,
int c)
Add a single example to the current training set and train the classifier |
double |
valueOf(T e)
Computes the category of the provided example |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BKM(Kernel<T> k,
int numberOfBarycenter)
| Method Detail |
|---|
public void train(T e,
int c)
Classifier
train in interface Classifier<T extends MLVector<?>>e - examplec - category of the example
public void train(T[] e,
int[] c)
Classifier
train in interface Classifier<T extends MLVector<?>>e - the new training setc - the array of categories associated with the examples, values in c must be -1 or 1public double valueOf(T e)
Classifier
valueOf in interface Classifier<T extends MLVector<?>>e - example
public double[] getGY()
public T[] getG()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||