60 template <
typename GRAPH_CHANGES_
SELECTOR >
64 typename GRAPH_CHANGES_SELECTOR::GeneratorType >::value,
65 "K2 must be called with a K2-compliant Graph Change Generator");
71 auto& generator = selector.graphChangeGenerator();
79 template <
typename GUM_SCALAR,
typename GRAPH_CHANGES_
SELECTOR,
typename PARAM_ESTIMATOR >
80 BayesNet< GUM_SCALAR >
81 K2::learnBN(GRAPH_CHANGES_SELECTOR& selector, PARAM_ESTIMATOR& estimator,
DAG initial_dag) {
84 typename GRAPH_CHANGES_SELECTOR::GeneratorType >::value,
85 "K2 must be called with a K2-compliant Graph Change Generator");
91 auto& generator = selector.graphChangeGenerator();
A class that, given a structure and a parameter estimator returns a full Bayes net.
DAG learnStructure(GRAPH_CHANGES_SELECTOR &selector, DAG initial_dag=DAG())
learns the structure of a Bayes net
BayesNet< GUM_SCALAR > learnBN(GRAPH_CHANGES_SELECTOR &selector, PARAM_ESTIMATOR &estimator, DAG initial_dag=DAG())
learns the structure and the parameters of a BN
Sequence< NodeId > _order_
the order on the variable used for learning
DAG learnStructure(GRAPH_CHANGES_SELECTOR &selector, DAG initial_dag=DAG())
learns the structure of a Bayes net
BayesNet< GUM_SCALAR > learnBN(GRAPH_CHANGES_SELECTOR &selector, PARAM_ESTIMATOR &estimator, DAG initial_dag=DAG())
learns the structure and the parameters of a BN
the classes to account for structure changes in a graph
The basic class for computing the set of digraph changes allowed by the user to be executed by the le...
include the inlined functions if necessary
gum is the global namespace for all aGrUM entities