buliugu / airhead-research

Automatically exported from code.google.com/p/airhead-research
0 stars 0 forks source link

LSA/SVD throws ArrayIndexOutOfBounds when # of docs < # of dimensions #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run LSA with the default number of dimensions and less than 300 documents
2. Wait for exception

What is the expected output? What do you see instead?

It's undecided what the output should be.  Either a more-descriptive
exception should be thrown earlier that the number of documents is not
sufficient to generate that many dimensions, OR all of the computed
dimensions should be returned.

Original issue reported on code.google.com by David.Ju...@gmail.com on 25 Jul 2009 at 6:21

GoogleCodeExporter commented 9 years ago
It looks we've decided on the later of the two options.  All 100 dimensions are 
created.  Closing issue.

Original comment by FozzietheBeat@gmail.com on 24 Feb 2011 at 8:41