|
Public Methods |
| PLSA (const Index &dbIndex, int numCats, HashFreqVector **train, HashFreqVector **validate, int numIter, int numRestarts, double betastart, double betastop, double anneal, double betaMod) |
| building with provided train/test partitions
|
| PLSA (const Index &dbIndex, int testPercentage, int numCats, int numIter, int numRestarts, double betastart, double betastop, double anneal, double betaMod) |
| building without provided train/test partitions
|
| PLSA (const Index &dbIndex) |
| for using prebuilt tables.
|
virtual | ~PLSA () |
void | iterateWithRestarts () |
| Start things going.
|
double * | get_p_z () const |
double ** | get_p_w_z () const |
| P(w|z) matrix.
|
double ** | get_p_d_z () const |
| P(d|z) matrix.
|
double | getProb (int d, int w) const |
| P(d,w).
|
int | numWords () const |
| number of terms
|
int | numDocs () const |
| number of docs
|
int | numCats () const |
| number of categories
|
bool | readArrays () |