| 497 | } |
| 498 | |
| 499 | std::vector<float> LDAModelObject::getAlpha() const |
| 500 | { |
| 501 | auto* inst = getInst<tomoto::ILDAModel>(); |
| 502 | vector<float> ret; |
| 503 | for (size_t i = 0; i < inst->getK(); ++i) |
| 504 | { |
| 505 | ret.emplace_back(inst->getAlpha(i)); |
| 506 | } |
| 507 | return ret; |
| 508 | } |
| 509 | |
| 510 | std::vector<std::string> LDAModelObject::getRemovedTopWords() const |
| 511 | { |
nothing calls this directly
no test coverage detected