Peratham / semanticvectors

Automatically exported from code.google.com/p/semanticvectors
Other
0 stars 0 forks source link

command line flags for number of dimensions and density of seed vectors #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The current method of changing the number of dimensions (vecLength in
ObjectVector.java) and the density of the seed vectors (seedLength in
BuildIndex) is to edit these variables and recompile. This is cumbersome.

It would be better to set these as command line options: but this isn't a
trivial change to implement well, because it raises the possibility of
easily making indexes that are incompatible with one another, and with
whatever code is reading the indexes. This could probably be got around by
including some sort of header in the vector files so that they can say
explicitly what number of dimensions they're encoding.

Original issue reported on code.google.com by dwidd...@gmail.com on 24 Jan 2008 at 3:23

GoogleCodeExporter commented 9 years ago
This was implemented and included in semanticvectors-1.4 and later (both the
command-line flags and moderately backward-compatible read/write of dimensions 
in a
metadata line).

Original comment by dwidd...@gmail.com on 23 Apr 2008 at 9:00

GoogleCodeExporter commented 9 years ago

Original comment by dwidd...@gmail.com on 23 Apr 2008 at 9:00