1 #ifndef _LDAPLUSPLUS_EM_SEMISUPERVISEDMSTEP_HPP_ 2 #define _LDAPLUSPLUS_EM_SEMISUPERVISEDMSTEP_HPP_ 5 #include "ldaplusplus/em/FastSupervisedMStep.hpp" 20 template <
typename Scalar>
32 size_t m_step_iterations = 10,
33 Scalar m_step_tolerance = 1e-2,
34 Scalar regularization_penalty = 1e-2
38 regularization_penalty
53 const std::shared_ptr<corpus::Document> doc,
54 const std::shared_ptr<parameters::Parameters> v_parameters,
55 std::shared_ptr<parameters::Parameters> m_parameters
62 #endif // _LDAPLUSPLUS_EM_SEMISUPERVISEDMSTEP_HPP_ SemiSupervisedMStep(size_t m_step_iterations=10, Scalar m_step_tolerance=1e-2, Scalar regularization_penalty=1e-2)
Definition: SemiSupervisedMStep.hpp:31
Definition: SemiSupervisedMStep.hpp:21
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: SemiSupervisedMStep.cpp:8
Definition: Document.hpp:11
Definition: FastSupervisedMStep.hpp:45