org.encog.ml.bayesian.parse
Class ParseProbability
- java.lang.Object
-
- org.encog.ml.bayesian.parse.ParseProbability
-
public class ParseProbability extends java.lang.ObjectUsed to parse probability strings for the Bayes networks.
-
-
Constructor Summary
Constructors Constructor and Description ParseProbability(BayesianNetwork theNetwork)Parse the probability for the specified network.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description ParsedProbabilityparse(java.lang.String line)Parse the given line.static java.util.List<ParsedProbability>parseProbabilityList(BayesianNetwork network, java.lang.String line)Parse a probability list.
-
-
-
Constructor Detail
-
ParseProbability
public ParseProbability(BayesianNetwork theNetwork)
Parse the probability for the specified network.- Parameters:
theNetwork- THe network to parse for.
-
-
Method Detail
-
parse
public ParsedProbability parse(java.lang.String line)
Parse the given line.- Parameters:
line- The line to parse.- Returns:
- The parsed probability.
-
parseProbabilityList
public static java.util.List<ParsedProbability> parseProbabilityList(BayesianNetwork network, java.lang.String line)
Parse a probability list.- Parameters:
network- The network to parse for.line- The line to parse.- Returns:
- The parsed list.
-
-
DMelt 3.0 © DataMelt by jWork.ORG