Modifier and Type | Method and Description |
---|---|
BayesianNetwork |
BIFHandler.getNetwork() |
static BayesianNetwork |
BIFUtil.readBIF(File f) |
static BayesianNetwork |
BIFUtil.readBIF(InputStream is)
Read a BIF file from a stream.
|
static BayesianNetwork |
BIFUtil.readBIF(String f)
Read a BIF file.
|
Modifier and Type | Method and Description |
---|---|
static void |
BIFUtil.writeBIF(File file,
BayesianNetwork network)
Write a Bayesian network to a BIF file.
|
static void |
BIFUtil.writeBIF(OutputStream os,
BayesianNetwork network)
Write a Bayesian network to an output stream in BIF format.
|
static void |
BIFUtil.writeBIF(String fn,
BayesianNetwork network)
Write a Bayesian network to BIF form.
|
Modifier and Type | Method and Description |
---|---|
void |
ParsedProbability.defineRelationships(BayesianNetwork network)
Define the relationships.
|
void |
ParsedProbability.defineTruthTable(BayesianNetwork network,
double result)
Define the truth table.
|
int[] |
ParsedProbability.getArgs(BayesianNetwork network)
Get the arguments to this event.
|
static List<ParsedProbability> |
ParseProbability.parseProbabilityList(BayesianNetwork network,
String line)
Parse a probability list.
|
Constructor and Description |
---|
ParseProbability(BayesianNetwork theNetwork)
Parse the probability for the specified network.
|
Modifier and Type | Method and Description |
---|---|
BayesianNetwork |
BayesianQuery.getNetwork() |
BayesianNetwork |
BasicQuery.getNetwork() |
Constructor and Description |
---|
BasicQuery(BayesianNetwork theNetwork) |
Constructor and Description |
---|
EnumerationQuery(BayesianNetwork theNetwork)
Construct the enumeration query.
|
Constructor and Description |
---|
SamplingQuery(BayesianNetwork theNetwork)
Construct a sampling query.
|
Modifier and Type | Method and Description |
---|---|
BayesianNetwork |
TrainBayesian.getNetwork() |
Constructor and Description |
---|
TrainBayesian(BayesianNetwork theNetwork,
MLDataSet theData,
int theMaximumParents)
Construct a Bayesian trainer.
|
TrainBayesian(BayesianNetwork theNetwork,
MLDataSet theData,
int theMaximumParents,
BayesianInit theInit,
BayesSearch theSearch,
BayesEstimator theEstimator)
Construct a Bayesian trainer.
|
Modifier and Type | Method and Description |
---|---|
void |
SimpleEstimator.init(TrainBayesian theTrainer,
BayesianNetwork theNetwork,
MLDataSet theData)
Init the estimator.
|
void |
EstimatorNone.init(TrainBayesian theTrainer,
BayesianNetwork theNetwork,
MLDataSet theData)
Init the estimator.
|
void |
BayesEstimator.init(TrainBayesian theTrainer,
BayesianNetwork theNetwork,
MLDataSet theData)
Init the estimator.
|
Modifier and Type | Method and Description |
---|---|
void |
SearchNone.init(TrainBayesian theTrainer,
BayesianNetwork theNetwork,
MLDataSet theData)
Init the search object.
|
Modifier and Type | Method and Description |
---|---|
double |
SearchK2.calculateG(BayesianNetwork network,
BayesianEvent event,
List<BayesianEvent> parents)
Calculate G.
|
int |
SearchK2.calculateN(BayesianNetwork network,
BayesianEvent event,
List<BayesianEvent> parents,
int[] parentInstance)
Calculate the value N, which is the number of cases, from the training data, where the
desiredValue matches the training data.
|
int |
SearchK2.calculateN(BayesianNetwork network,
BayesianEvent event,
List<BayesianEvent> parents,
int[] parentInstance,
int desiredValue)
Calculate the value N, which is the number of cases, from the training data, where the
desiredValue matches the training data.
|
void |
SearchK2.init(TrainBayesian theTrainer,
BayesianNetwork theNetwork,
MLDataSet theData)
Init the search object.
|
void |
BayesSearch.init(TrainBayesian theTrainer,
BayesianNetwork theNetwork,
MLDataSet theData)
Init the search object.
|
Copyright © 2014. All Rights Reserved.