Latest Tom - 2015-10-27

I'm also having the same problem!

This is the output from command line.

Iteration 999 ...
Gibbs sampling completed!

Saving the final model!

Error while saving model tassign: null
java.lang.NullPointerException
at jgibblda.Model.saveModelTAssign(Model.java:276)
at jgibblda.Model.saveModel(Model.java:410)
at jgibblda.Estimator.estimate(Estimator.java:89)
at jgibblda.LDA.main(LDA.java:50)

In the beginning I'm getting this error also

Read Dataset Error: \models\casestudy-en\newdocs.dat (The system cannot find the path specified)
java.io.FileNotFoundException: \models\casestudy-en\newdocs.dat (The system cannot find the path specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at jgibblda.LDADataset.readDataSet(LDADataset.java:154)
at jgibblda.Model.initNewModel(Model.java:476)
at jgibblda.Estimator.init(Estimator.java:45)
at jgibblda.LDA.main(LDA.java:49)
Fail to read training data!

Sampling 1000 iteration!
Iteration 1 ...

I think the error is because the file is not reading. How to fix this error?

 
Last edit: Latest Tom 2015-10-27