|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcodebook_generation.CodebookGeneration
public class CodebookGeneration
This class creates a codebook from a set of local features using a slightly modified (to produce some additional output) version of Weka's SimpleKMeans class. The local descriptors should be stored in an arff or csv formated file.
Field Summary | |
---|---|
static double |
power
The power to use when power-normalization is applied. |
Constructor Summary | |
---|---|
CodebookGeneration()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double power
Constructor Detail |
---|
public CodebookGeneration()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- [0] path to the (arff or csv formated) file containing a set the local features (use
backslashes).args
- [1] the number of clusters to create (e.g. 64).args
- [2] the maximum number of k-means iterations (e.g. 100).args
- [3] the seed given to k-means (e.g. 1).args
- [4] the number of execution slots to use ( >1 = parallel execution).args
- [5] the type of normalization to apply on the local features (no / l2 / power+l2).
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |