TheDataLeek/Python-LSA

Output not saving correctly

Closed this issue · 0 comments

/LSA.py needs to save its SVD output to a .mat file for analysis in MATLAB.

This file needs to contain

  • U
  • D
  • V.T
  • Wordlist in order that the document term matrix is created with
  • Document list in order that the document term matrix is created with.
    • This will require a rewrite, as with the current setup, order is not guaranteed.

Both the wordlist and document list need to be saved using cells, which is done using the dtype=object syntax with scipy.io.savemat.