dakuang / hiernmf2-vis

Hierarchical rank-2 NMF for document clustering and topic modeling with visualization
1 stars 2 forks source link

KeyError: 'final_cluster_summary' #1

Open jyayoub opened 4 years ago

jyayoub commented 4 years ago

hi, I am getting this error each time I try to run the code, can anyone assist please: [INFO] Generating term-document matrix ...... [INFO] Applying TF-IDF ...... sh: matlab: command not found [INFO] Run HierNMF2 ...... sh: matlab: command not found [INFO] Generating hierarchy display ...... Traceback (most recent call last): File "generate_qtree_priority_simplified.py", line 137, in clusters = data['final_cluster_summary'][alg-1] KeyError: 'final_cluster_summary'

dakuang commented 4 years ago

The error message "sh: matlab: command not found" means that your matlab path can't be found, so just add the matlab bin folder to environmental variable $PATH.

jyayoub commented 4 years ago

Hi, Thank you for your quick reply but I have added the folder path to Matlab and I still having the same problem. [image: Screen Shot 2020-02-27 at 3.48.02 PM.png] [image: Screen Shot 2020-02-27 at 3.48.10 PM.png]

On Thu, Feb 27, 2020 at 1:15 PM Da Kuang notifications@github.com wrote:

The error message "sh: matlab: command not found" means that your matlab path can't be found, so just add the matlab bin folder to environmental variable $PATH.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dakuang/hiernmf2-vis/issues/1?email_source=notifications&email_token=AMANYSN5PFGP5PRZBXT52GLRE77N3A5CNFSM4K44LE3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENFMHCI#issuecomment-592102281, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMANYSO25D5P742HNPZXUSTRE77N3ANCNFSM4K44LE3A .