Sha256: 178e186cb87dc4cbacef6480cad71841319df33f3cf23e00c2c74d783acbfa60

Contents?: true

Size: 563 Bytes

Versions: 5

Compression:

Stored size: 563 Bytes

Contents

#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)
	{
		TMT_SWITCH_TW(_weight, scalarRng, SLDAModel, _K, vars, _alpha, _eta, _mu, _nuSq, _glmParam, seed);
	}
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tomoto-0.1.4 vendor/tomotopy/src/TopicModel/SLDAModel.cpp
tomoto-0.1.3 vendor/tomotopy/src/TopicModel/SLDAModel.cpp
tomoto-0.1.2 vendor/tomotopy/src/TopicModel/SLDAModel.cpp
tomoto-0.1.1 vendor/tomotopy/src/TopicModel/SLDAModel.cpp
tomoto-0.1.0 vendor/tomotopy/src/TopicModel/SLDAModel.cpp