LDA++
|
#include <Document.hpp>
Public Member Functions | |
CorpusIndexes (int N, int random_state=0) | |
int | get_index (int index) const |
void | shuffle () |
Implement a shuffle method that shuffles indexes and provides them to classes who want to implement the corpus interface.
|
inline |
Return the document index that corresponds to the sequential index after a shuffle.
void ldaplusplus::corpus::CorpusIndexes::shuffle | ( | ) |
Shuffle the indexes around.