|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.ml.bayesian.training.estimator.SimpleEstimator
public class SimpleEstimator
A simple probability estimator.
Constructor Summary | |
---|---|
SimpleEstimator()
|
Method Summary | |
---|---|
double |
calculateProbability(BayesianEvent event,
int result,
int[] args)
Calculate the probability. |
void |
init(TrainBayesian theTrainer,
BayesianNetwork theNetwork,
MLDataSet theData)
Init the estimator. |
boolean |
iteration()
Perform an iteration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleEstimator()
Method Detail |
---|
public void init(TrainBayesian theTrainer, BayesianNetwork theNetwork, MLDataSet theData)
init
in interface BayesEstimator
theTrainer
- The trainer.theNetwork
- The network.theData
- The data.public double calculateProbability(BayesianEvent event, int result, int[] args)
event
- The event.result
- The result.args
- The arguments.
public boolean iteration()
iteration
in interface BayesEstimator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |