vendor/tomotopy/src/TopicModel/SLDAModel.cpp in tomoto-0.1.4 vs vendor/tomotopy/src/TopicModel/SLDAModel.cpp in tomoto-0.2.0
- old
+ new
@@ -1,17 +1,9 @@
#include "SLDAModel.hpp"
namespace tomoto
{
- /*template class SLDAModel<TermWeight::one>;
- template class SLDAModel<TermWeight::idf>;
- template class SLDAModel<TermWeight::pmi>;*/
-
- ISLDAModel* ISLDAModel::create(TermWeight _weight, size_t _K, const std::vector<ISLDAModel::GLM>& vars,
- Float _alpha, Float _eta,
- const std::vector<Float>& _mu, const std::vector<Float>& _nuSq,
- const std::vector<Float>& _glmParam,
- size_t seed, bool scalarRng)
+ ISLDAModel* ISLDAModel::create(TermWeight _weight, const SLDAArgs& args, bool scalarRng)
{
- TMT_SWITCH_TW(_weight, scalarRng, SLDAModel, _K, vars, _alpha, _eta, _mu, _nuSq, _glmParam, seed);
+ TMT_SWITCH_TW(_weight, scalarRng, SLDAModel, args);
}
}
\ No newline at end of file