inpho / vsm

Vector Space Model Framework developed for InPhO
http://inpho.github.io/vsm
Other
35 stars 14 forks source link

LDA.load() reveals LdaCgsMulti object can be imported as an LdaCgsSeq #156

Closed JaimieMurdock closed 7 years ago

JaimieMurdock commented 7 years ago

Very strangely, an LdaCgsMulti can be imported as an LdaCgsSeq, complete with the multiple seeds spec, and the object will even print an array of seeds, but no errors.

A quick test scenario:

topicexplorer train ap -k 20 40 60 --iter 10 -p 3 --rebuild
topicexplorer train ap -k 20 40 60 --iter 15 --continue
topicexplorer train ap -k 20 40 60 --iter 20 --continue
...

Loading as a LdaCgsSeq
Loading LDA data from /home/jaimie/workspace/topic-clean2/models/ap-freq5-nltk-en-freq5-N2000-LDA-K60-article-10.npz
[1706256045, 1875833863, 847721031]
Continue training 60-topic model (10 => 15 iterations, 1 processes)

...

See also inpho/topic-explorer#222 inpho/topic-explorer#223