30 #ifndef GUM_LEARNING_CORRECTED_MUTUAL_INFORMATION_H 31 #define GUM_LEARNING_CORRECTED_MUTUAL_INFORMATION_H 33 #include <agrum/config.h> 55 template <
template <
typename >
class ALLOC = std::allocator >
92 const std::vector< std::pair< std::size_t, std::size_t >,
93 ALLOC< std::pair< std::size_t, std::size_t > > >&
175 virtual void clear();
237 const std::vector<
NodeId, ALLOC< NodeId > >& conditioning_ids);
246 const std::vector<
NodeId, ALLOC< NodeId > >& conditioning_ids);
292 template <
template <
typename >
class XALLOC >
294 const std::vector< std::pair< std::size_t, std::size_t >,
295 XALLOC< std::pair< std::size_t, std::size_t > > >&
302 const std::vector< std::pair< std::size_t, std::size_t >,
303 ALLOC< std::pair< std::size_t, std::size_t > > >&
317 #ifndef DOXYGEN_SHOULD_SKIP_THIS 338 bool __use_ICache{
true};
344 bool __use_HCache{
true};
350 bool __use_KCache{
true};
357 bool __use_CnrCache{
true};
368 const std::vector< NodeId, ALLOC< NodeId > > __empty_conditioning_set;
371 const double __threshold{1e-10};
375 double __NI_score(
NodeId var_x,
377 const std::vector<
NodeId, ALLOC< NodeId > >& vars_z);
380 double __NI_score(
NodeId var_x,
383 const std::vector<
NodeId, ALLOC< NodeId > >& vars_ui);
386 double __K_score(
NodeId var_x,
388 const std::vector<
NodeId, ALLOC< NodeId > >& vars_z);
391 double __K_score(
NodeId var_x,
394 const std::vector<
NodeId, ALLOC< NodeId > >& vars_ui);
404 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
the base class for all a priori
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
the class for computing Log2-likelihood scores
the class for computing BIC scores
Set of pairs of elements with fast search for both elements.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
a cache for caching scores and independence tests resultsCaching previously computed scores or the re...
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
the class for computing the NML penalty used by 3off2
the class used to read a row in the database and to transform it into a set of DBRow instances that c...
Size NodeId
Type for node ids.