27 #ifndef GUM_LEARNING_CORRECTED_MUTUAL_INFORMATION_H 28 #define GUM_LEARNING_CORRECTED_MUTUAL_INFORMATION_H 30 #include <agrum/config.h> 52 template <
template <
typename >
class ALLOC = std::allocator >
89 const std::vector< std::pair< std::size_t, std::size_t >,
90 ALLOC< std::pair< std::size_t, std::size_t > > >&
172 virtual void clear();
234 const std::vector<
NodeId, ALLOC< NodeId > >& conditioning_ids);
243 const std::vector<
NodeId, ALLOC< NodeId > >& conditioning_ids);
289 template <
template <
typename >
class XALLOC >
291 const std::vector< std::pair< std::size_t, std::size_t >,
292 XALLOC< std::pair< std::size_t, std::size_t > > >&
299 const std::vector< std::pair< std::size_t, std::size_t >,
300 ALLOC< std::pair< std::size_t, std::size_t > > >&
314 #ifndef DOXYGEN_SHOULD_SKIP_THIS 335 bool __use_ICache{
true};
341 bool __use_HCache{
true};
347 bool __use_KCache{
true};
354 bool __use_CnrCache{
true};
365 const std::vector< NodeId, ALLOC< NodeId > > __empty_conditioning_set;
368 const double __threshold{1e-10};
372 double __NI_score(
NodeId var_x,
374 const std::vector<
NodeId, ALLOC< NodeId > >& vars_z);
377 double __NI_score(
NodeId var_x,
380 const std::vector<
NodeId, ALLOC< NodeId > >& vars_ui);
383 double __K_score(
NodeId var_x,
385 const std::vector<
NodeId, ALLOC< NodeId > >& vars_z);
388 double __K_score(
NodeId var_x,
391 const std::vector<
NodeId, ALLOC< NodeId > >& vars_ui);
401 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS
the class for computing Log2-likelihood scores
the base class for all a priori
gum is the global namespace for all aGrUM entities
the class for computing Log2-likelihood scores
the class for computing BIC scores
Set of pairs of elements with fast search for both elements.
the class for computing MDL scores
a cache for caching scores and independence tests resultsCaching previously computed scores or the re...
The class for the NML penalty used in 3off2.
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.