vendor/tomotopy/src/TopicModel/LDAModel.cpp in tomoto-0.1.4 vs vendor/tomotopy/src/TopicModel/LDAModel.cpp in tomoto-0.2.0
- old
+ new
@@ -1,13 +1,9 @@
#include "LDAModel.hpp"
namespace tomoto
{
- /*template class LDAModel<TermWeight::one>;
- template class LDAModel<TermWeight::idf>;
- template class LDAModel<TermWeight::pmi>;*/
-
- ILDAModel* ILDAModel::create(TermWeight _weight, size_t _K, Float _alpha, Float _eta, size_t seed, bool scalarRng)
+ ILDAModel* ILDAModel::create(TermWeight _weight, const LDAArgs& args, bool scalarRng)
{
- TMT_SWITCH_TW(_weight, scalarRng, LDAModel, _K, _alpha, _eta, seed);
+ TMT_SWITCH_TW(_weight, scalarRng, LDAModel, args);
}
}