1 #ifndef _LDAPLUSPLUS_EM_SEMISUPERVISEDESTEP_HPP_ 2 #define _LDAPLUSPLUS_EM_SEMISUPERVISEDESTEP_HPP_ 7 #include "ldaplusplus/em/EStepInterface.hpp" 22 template <
typename Scalar>
25 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> MatrixX;
26 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, 1> VectorX;
45 std::shared_ptr<parameters::Parameters>
doc_e_step(
46 const std::shared_ptr<corpus::Document> doc,
47 const std::shared_ptr<parameters::Parameters> parameters
56 std::shared_ptr<EStepInterface<Scalar> > supervised_step_;
57 std::shared_ptr<EStepInterface<Scalar> > unsupervised_step_;
59 std::shared_ptr<events::EventListenerInterface> event_forwarder_;
65 #endif // _LDAPLUSPLUS_EM_SEMISUPERVISEDESTEP_HPP_ std::shared_ptr< parameters::Parameters > doc_e_step(const std::shared_ptr< corpus::Document > doc, const std::shared_ptr< parameters::Parameters > parameters) override
Definition: SemiSupervisedEStep.cpp:31
Definition: SemiSupervisedEStep.hpp:23
Definition: EStepInterface.hpp:24
void e_step() override
Definition: SemiSupervisedEStep.cpp:44
Definition: Document.hpp:11
SemiSupervisedEStep(std::shared_ptr< EStepInterface< Scalar > > supervised_step, std::shared_ptr< EStepInterface< Scalar > > unsupervised_step)
Definition: SemiSupervisedEStep.cpp:8