1 #ifndef _LDAPLUSPLUS_EM_MSTEPINTERFACE_HPP_ 2 #define _LDAPLUSPLUS_EM_MSTEPINTERFACE_HPP_ 6 #include "ldaplusplus/Document.hpp" 7 #include "ldaplusplus/events/Events.hpp" 8 #include "ldaplusplus/Parameters.hpp" 23 template <
typename Scalar>
26 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> MatrixX;
27 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, 1> VectorX;
39 std::shared_ptr<parameters::Parameters> parameters
58 const std::shared_ptr<corpus::Document> doc,
59 const std::shared_ptr<parameters::Parameters> v_parameters,
60 std::shared_ptr<parameters::Parameters> m_parameters
69 #endif // _LDAPLUSPLUS_EM_MSTEPINTERFACE_HPP_ Definition: MStepInterface.hpp:24
virtual void m_step(std::shared_ptr< parameters::Parameters > parameters)=0
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)=0
Definition: Events.hpp:182
Definition: Document.hpp:11