28 #ifndef GUM_LEARNING_BN_LEARNER_H 29 #define GUM_LEARNING_BN_LEARNER_H 47 class BNLearnerListener;
56 template <
typename GUM_SCALAR >
70 const std::vector< std::string >& missing_symbols = {
"?"});
108 const std::vector< std::string >& missing_symbols = {
"?"});
150 bool take_into_account_score =
true);
Class representing a Bayesian Network.
Header file of gum::Sequence, a class for storing (ordered) sequences of objects. ...
A class for generic framework of learning algorithms that can easily be used.
Class representing Bayesian networks.
A pack of learning algorithms that can easily be used.
gum is the global namespace for all aGrUM entities
BayesNet< GUM_SCALAR > learnParameters(const DAG &dag, bool take_into_account_score=true)
learns a BN (its parameters) when its structure is known
NodeProperty< Sequence< std::string > > __labelsFromBN(const std::string &filename, const BayesNet< GUM_SCALAR > &src)
read the first line of a file to find column names
The class for generic Hash Tables.
A pack of learning algorithms that can easily be used.
virtual ~BNLearner()
destructor
The class representing a tabular database as used by learning tasks.
A pack of learning algorithms that can easily be used.
BayesNet< GUM_SCALAR > learnBN()
learn a Bayes Net from a file (must have read the db before)
BNLearner & operator=(const BNLearner &)
copy operator
BNLearner(const std::string &filename, const std::vector< std::string > &missing_symbols={"?"})
default constructor
Set of pairs of elements with fast search for both elements.
Base classes for directed acyclic graphs.