Comments (2)
I've checked in a fix and verified that this doesn't happen anymore. FeatureSequence
objects sometimes allocate arrays with more positions than they actually use, it's necessary to use featureSequence.size()
instead of the length of the internal array. This only seems to have happened in printing topic proportions to a file for length 1 documents, which might be why no one has noticed so far.
from mallet.
Thank you so much David; this is very helpful to us here. Have a lovely evening.
from mallet.
Related Issues (20)
- Topic Modelling for Non-text data HOT 3
- Bug or deadcode in SelectiveSGML2TokenSequence.java
- Running LDA model in python and got error message "returned non-zero exit status 127" HOT 1
- Suppress or redirect to file Mallet LDA building messages HOT 1
- Test Failure HOT 1
- Lemmatization HOT 1
- Not clear if `trainingProportions` may be `null` HOT 2
- Hyperparameter optimization when training Labeled LDA? HOT 1
- Recommended Word Number HOT 1
- mallet bash wrapper script misses an option to set Java heap size like most other scripts. HOT 2
- Computing Perplexity HOT 1
- Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded HOT 1
- Auto-correlation between samples (Binkley et al.)
- Lemmatizing with Mallet HOT 1
- 404 on download page HOT 2
- "https://mimno.github.io/Mallet/classifier-devel" is missing in homepage! HOT 2
- Can't run mallet via python due to FileNotFoundError HOT 4
- How to use the word stemming function in Mallet HOT 2
- Exception in thread "main" java.lang.ClassCastException: cc.mallet.types.FeatureSequence cannot be cast
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mallet.