1 #ifndef _LDAPLUSPLUS_EM_UNSUPERVISEDMSTEP_HPP_ 2 #define _LDAPLUSPLUS_EM_UNSUPERVISEDMSTEP_HPP_ 4 #include "ldaplusplus/em/MStepInterface.hpp" 41 template <
typename Scalar>
44 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> MatrixX;
45 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, 1> VectorX;
57 std::shared_ptr<parameters::Parameters> parameters
72 const std::shared_ptr<corpus::Document> doc,
73 const std::shared_ptr<parameters::Parameters> v_parameters,
74 std::shared_ptr<parameters::Parameters> m_parameters
84 #endif // _LDAPLUSPLUS_EM_UNSUPERVISEDMSTEP_HPP_ Definition: UnsupervisedMStep.hpp:42
Definition: MStepInterface.hpp:24
virtual void m_step(std::shared_ptr< parameters::Parameters > parameters) override
Definition: UnsupervisedMStep.cpp:9
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: UnsupervisedMStep.cpp:20
Definition: Document.hpp:11