62 template <
typename GRAPH_CHANGES_
SELECTOR >
65 auto& total_order_constraint
75 selector.useArcAdditions(
true);
76 selector.useArcDeletions(
false);
77 selector.useArcReversals(
false);
78 selector.useArcTriangleDeletions(
false);
85 template < GUM_Numeric GUM_SCALAR,
typename GRAPH_CHANGES_
SELECTOR,
typename PARAM_ESTIMATOR >
86 BayesNet< GUM_SCALAR >
87 K2::learnBN(GRAPH_CHANGES_SELECTOR& selector, PARAM_ESTIMATOR& estimator,
DAG initial_dag) {
89 auto& total_order_constraint
99 selector.useArcAdditions(
true);
100 selector.useArcDeletions(
false);
101 selector.useArcReversals(
false);
102 selector.useArcTriangleDeletions(
false);
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 structural constraint imposing a total order over some nodes
void setTotalOrder(const Sequence< NodeId > &Total)
sets the Total order of all the nodes in the property
the classes to account for structure changes in a graph
include the inlined functions if necessary
gum is the global namespace for all aGrUM entities
the structural constraint imposing a total ordering over some nodes