cMHN 1.0
C++ library for learning MHNs with pRC
Namespaces | Functions
learn_theta.hpp File Reference
#include <iostream>
#include <map>
#include <string>
#include <tuple>
#include <cmhn/common/calculate_pTheta.hpp>
#include <cmhn/tt/als.hpp>
#include <cmhn/tt/mamen.hpp>
#include <cmhn/tt/mhn_operator.hpp>
#include <cmhn/tt/utility.hpp>
#include <cmhn/utility/read_data.hpp>
#include <cmhn/utility/read_header.hpp>
#include <cmhn/utility/write_theta.hpp>
#include <prc.hpp>

Go to the source code of this file.

Namespaces

namespace  cMHN
 
namespace  cMHN::TT
 

Functions

template<pRC::Size RP, pRC::Size RQ, class T , pRC::Size D, class S >
std::tuple< pRC::Tensor< T, D, D >, std::map< std::string, std::string >, std::map< std::string, double > > cMHN::TT::learnTheta (pRC::Tensor< T, D, D > const &theta, std::string const &header, std::string const &output, std::map< S, T > const &pD, cMHN::Score< T > const &Score, cMHN::Regulator< T, D > const &Regulator, T const &toleranceOptimizer, T const &toleranceSolverP, T const &toleranceSolverQ)
 Optimizes an MHN represented by a theta matrix to best describe a given data distribution using the TT format. More...