BayesAnalyserVariableElimination class

A BayesianNetwork analyser using the "Variable Elimination" method.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
network BayesianNetwork
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

ask(String query, {String positive = 'T', String negative = 'F', bool verbose = false}) Answer
inherited
generateQuestions(String inferVariable, {bool addPriorQuestions = false, int combinationsLevel = 1, Iterable<String>? variables, bool variablesFilter(String name)?, Iterable<String>? ignoreVariables, bool ignoreVariablesFilter(String name)?, bool allowEmptySelection = true}) List<String>
Generates questions to infer inferVariable.
inherited
infer(String targetVariable, String selectedVariables, {String? originalQuery, bool verbose = false}) Answer
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseQuery(String query, {String positive = 'T', String negative = 'F'}) String
inherited
quiz(List<String> questions, {String positive = 'T', String negative = 'F', bool verbose = false}) List<Answer>
Performas a Quiz: Asks all the questions and returns the answers sorted by best probability (Answer.probability).
inherited
showAnswer(String query, {String positive = 'T', String negative = 'F', bool verbose = false}) Answer
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited