org.encog.ml.bayesian.training.estimator
public class SimpleEstimator extends Object implements BayesEstimator
Constructor and Description |
---|
SimpleEstimator() |
Modifier and Type | Method and Description |
---|---|
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.
|
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
Copyright © 2014. All Rights Reserved.