You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In kicking the tires on LDA with my test text set, i get the following error:
Exception in thread "main" java.lang.Error: Method zero() not defined on class cc.factorie.variable.SortedSparseCountsProportions1
at cc.factorie.la.ReadOnlyTensor$class.zero(Tensor.scala:145)
at cc.factorie.variable.SortedSparseCountsProportions1.zero(ProportionsVariable.scala:359)
at cc.factorie.app.topics.lda.SparseLDAInferencer$$anonfun$exportThetas$1.apply(SparseLDAInferencer.scala:105)
at cc.factorie.app.topics.lda.SparseLDAInferencer$$anonfun$exportThetas$1.apply(SparseLDAInferencer.scala:103)
at scala.collection.Iterator$class.foreach(Iterator.scala:727)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
at scala.collection.MapLike$DefaultValuesIterable.foreach(MapLike.scala:206)
at cc.factorie.app.topics.lda.SparseLDAInferencer.exportThetas(SparseLDAInferencer.scala:103)
at cc.factorie.app.topics.lda.LDA.inferTopics(LDA.scala:146)
at cc.factorie.app.topics.lda.LDACmd.main(LDA.scala:426)
at cc.factorie.app.topics.lda.LDA.main(LDA.scala)
this is on a fresh clone of the project, and a fresh build from source. My command line invocation is:
In kicking the tires on LDA with my test text set, i get the following error:
Exception in thread "main" java.lang.Error: Method zero() not defined on class cc.factorie.variable.SortedSparseCountsProportions1
at cc.factorie.la.ReadOnlyTensor$class.zero(Tensor.scala:145)
at cc.factorie.variable.SortedSparseCountsProportions1.zero(ProportionsVariable.scala:359)
at cc.factorie.app.topics.lda.SparseLDAInferencer$$anonfun$exportThetas$1.apply(SparseLDAInferencer.scala:105)
at cc.factorie.app.topics.lda.SparseLDAInferencer$$anonfun$exportThetas$1.apply(SparseLDAInferencer.scala:103)
at scala.collection.Iterator$class.foreach(Iterator.scala:727)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
at scala.collection.MapLike$DefaultValuesIterable.foreach(MapLike.scala:206)
at cc.factorie.app.topics.lda.SparseLDAInferencer.exportThetas(SparseLDAInferencer.scala:103)
at cc.factorie.app.topics.lda.LDA.inferTopics(LDA.scala:146)
at cc.factorie.app.topics.lda.LDACmd.main(LDA.scala:426)
at cc.factorie.app.topics.lda.LDA.main(LDA.scala)
this is on a fresh clone of the project, and a fresh build from source. My command line invocation is:
./factorie/bin/fac lda --read-lines=./data/courts/scotus/cleaned/all_cleaned.txt --num-topics 200 --print-topics-phrases=10
It also fails with the sample command line provided ;
bin/fac lda --read-dirs mytextdir --num-topics 20 --num-iterations 100
And I'm happy to provide the data if it is of interest.
Perhaps something I'm missing?
The text was updated successfully, but these errors were encountered: