Main Content

Latent semantic analysis (LSA) model

A latent semantic analysis (LSA) model discovers relationships between documents and the words that they contain. An LSA model is a dimensionality reduction tool useful for running low-dimensional statistical models on high-dimensional word counts. If the model was fit using a bag-of-n-grams model, then the software treats the n-grams as individual words.

Create an LSA model using the `fitlsa`

function.

`transform` | Transform documents into lower-dimensional space |

`bagOfWords`

| `fitlsa`

| `transform`

| `ldaModel`

| `lsaModel`