1 #ifndef _LDAPLUSPLUS_EM_CORRESPONDENCESUPERVISEDMSTEP_HPP_ 2 #define _LDAPLUSPLUS_EM_CORRESPONDENCESUPERVISEDMSTEP_HPP_ 4 #include "ldaplusplus/em/MStepInterface.hpp" 29 template <
typename Scalar>
32 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> MatrixX;
33 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, 1> VectorX;
47 std::shared_ptr<parameters::Parameters> parameters
61 const std::shared_ptr<corpus::Document> doc,
62 const std::shared_ptr<parameters::Parameters> v_parameters,
63 std::shared_ptr<parameters::Parameters> m_parameters
68 VectorX phi_scaled_sum_;
79 #endif // _LDAPLUSPLUS_EM_CORRESPONDENCESUPERVISEDMSTEP_HPP_ Definition: MStepInterface.hpp:24
virtual void doc_m_step(const std::shared_ptr< corpus::Document > doc, const std::shared_ptr< parameters::Parameters > v_parameters, std::shared_ptr< parameters::Parameters > m_parameters) override
Definition: CorrespondenceSupervisedMStep.cpp:33
virtual void m_step(std::shared_ptr< parameters::Parameters > parameters) override
Definition: CorrespondenceSupervisedMStep.cpp:11
Definition: CorrespondenceSupervisedMStep.hpp:30
Definition: Document.hpp:11