|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAlgorithm
AlgorithmRVM
public class AlgorithmRVM
Algorithm Relevance Vector Machines
Constructor Summary | |
---|---|
AlgorithmRVM()
|
Method Summary | |
---|---|
void |
computeDecisionRegions()
Computes the line of discrimination for the classification algorithms when the corresponding flags have been initialized |
void |
computeErrors()
Computes the classification error for the data points |
double |
computeLikelihood()
Computes the log likelihood of the weights given the data. |
boolean |
computeSigma()
Computes the sigma valued defined on pp. |
boolean |
computeVarianceCholesky()
Computes the diagonal elements of the inverse from the cholesky decomposition |
boolean |
initFullTrain()
initializes the data structures in preparation for a full training pass |
boolean |
initialize()
Overrides the initialize() method in the base class. |
boolean |
irlsTrain()
Completes one pass of IRLS training to update the weights given the currently assigne hyperparamters. |
boolean |
pruneAndUpdate()
prunes off vectors whose hyperparameters have gone to infinity and updates working data sets |
boolean |
pruneWeights()
Prunes off vectors which attain a zero weight during training. |
void |
run()
Implementation of the run function from the Runnable interface. |
boolean |
trainFull()
this method trains an RVM probabilistic classifier on the input data and targets provided. |
boolean |
updateHyperparametersFull()
Updates the hyperparameter values |
Methods inherited from class Algorithm |
---|
computeMeans, disableControl, enableControl, nextStep, prevStep, scaleToFitData, setDataPoints, setOutputPanel, setProcessBox |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AlgorithmRVM()
Method Detail |
---|
public boolean initialize()
initialize
in class Algorithm
public void run()
run
in interface java.lang.Runnable
run
in class Algorithm
public boolean trainFull()
public boolean initFullTrain()
public boolean updateHyperparametersFull()
public boolean irlsTrain()
public boolean pruneAndUpdate()
public boolean pruneWeights()
public boolean computeVarianceCholesky()
public boolean computeSigma()
public double computeLikelihood()
public void computeDecisionRegions()
public void computeErrors()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |