|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.lip6.classifier.SimpleMKL<T>
T - public class SimpleMKL<T>
SimpleMKL classifier after the algorithm of A. Rakotomamonjy.
| Constructor Summary | |
|---|---|
SimpleMKL()
|
|
| Method Summary | |
|---|---|
void |
addKernel(Kernel<T> k)
|
double[] |
getKernelWeights()
|
double[] |
getTrainingWeights()
|
void |
train(java.util.ArrayList<TrainingSample<T>> list)
optimisation des poids d'après l'algorithme SimpleMKL d'Alain Rakotomamonjy |
void |
train(TrainingSample<T> train)
Add a single example to the current training set and train the classifier |
double |
valueOf(T ex)
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 SimpleMKL()
| Method Detail |
|---|
public void addKernel(Kernel<T> k)
public void train(TrainingSample<T> train)
Classifier
train in interface Classifier<T>train - the training samplepublic void train(java.util.ArrayList<TrainingSample<T>> list)
train in interface Classifier<T>list - list of training samplespublic double valueOf(T ex)
Classifier
valueOf in interface Classifier<T>ex - example
public double[] getKernelWeights()
public double[] getTrainingWeights()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||