cMHN 1.0
C++ library for learning MHNs with pRC
Namespaces | Functions
calculate_score.hpp File Reference
#include <map>
#include <cmhn/common/calculate_pTheta.hpp>
#include <cmhn/common/regulator.hpp>
#include <cmhn/common/score.hpp>
#include <cmhn/nontt/mhn_operator.hpp>
#include <cmhn/tt/mhn_operator.hpp>
#include <prc.hpp>

Go to the source code of this file.

Namespaces

namespace  cMHN
 

Functions

template<class T , pRC::Size D, class S >
T cMHN::calculateScore (nonTT::MHNOperator< T, D > const &op, std::map< S, T > const &pD, cMHN::Score< T > const &Score, cMHN::Regulator< T, D > const &Regulator, T const &toleranceSolverP=1e-4)
 Calculate score of a theta matrix given some data distribution pD. More...
 
template<pRC::Size RP, class T , pRC::Size D, class S >
T cMHN::calculateScore (TT::MHNOperator< T, D > const &op, std::map< S, T > const &pD, cMHN::Score< T > const &Score, cMHN::Regulator< T, D > const &Regulator, T const &toleranceSolverP=1e-4)
 Calculate score of a theta matrix given some data distribution pD (using TTs) More...