3#ifndef cMHN_COMMON_LEARN_INDEPENDENCE_MODEL_H
4#define cMHN_COMMON_LEARN_INDEPENDENCE_MODEL_H
19 template<
class T,
class S>
26 for(
auto const &[index, value] : pD)
pRC::Size const D
Definition CalculatePThetaTests.cpp:9
Definition calculate_pTheta.hpp:16
static auto learnIndependenceModel(std::map< S, T > const &pD)
Calculate the theta matrix corresponding to the independence model for a given data distribution.
Definition learn_independence_model.hpp:20
Size Index
Definition type_traits.hpp:21
static constexpr auto zero()
Definition zero.hpp:12
static constexpr auto unit()
Definition unit.hpp:12