Sha256: 3ed5494a24c0e4899c3a7d13d9d915972f6297a404c3272adb98ed36fde117d4

Contents?: true

Size: 556 Bytes

Versions: 5

Compression:

Stored size: 556 Bytes

Contents

#include "HPAModel.hpp"

namespace tomoto
{
	/*template class HPAModel<TermWeight::one>;
	template class HPAModel<TermWeight::idf>;
	template class HPAModel<TermWeight::pmi>;*/

    IHPAModel* IHPAModel::create(TermWeight _weight, bool _exclusive, size_t _K, size_t _K2, Float _alphaSum, Float _eta, size_t seed, bool scalarRng)
	{
		if (_exclusive)
		{
			//TMT_SWITCH_TW(_weight, HPAModelExclusive, _K, _K2, _alphaSum, _eta, seed);
		}
		else
		{
			TMT_SWITCH_TW(_weight, scalarRng, HPAModel, _K, _K2, _alphaSum, _eta, seed);
		}
		return nullptr;
	}
}

Version data entries

5 entries across 5 versions & 1 rubygems

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