MCPcopy Create free account
hub / github.com/bab2min/tomotopy / getAlpha

Method getAlpha

src/python/handler/py_HLDA.cpp:51–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50
51std::vector<float> HLDAModelObject::getAlpha() const
52{
53 auto* inst = getInst<tomoto::IHLDAModel>();
54 vector<float> ret;
55 for (size_t i = 0; i < inst->getLevelDepth(); ++i)
56 {
57 ret.emplace_back(inst->getAlpha(i));
58 }
59 return ret;
60}
61
62std::vector<int32_t> DocumentObject::getPath() const
63{

Callers

nothing calls this directly

Calls 2

getLevelDepthMethod · 0.80
emplace_backMethod · 0.80

Tested by

no test coverage detected