|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ILabelAssigner
Assigns labels to base vectors obtained from the factorization.
| Method Summary | |
|---|---|
void |
assignLabels(LingoProcessingContext context,
org.apache.mahout.math.matrix.DoubleMatrix2D stemCos,
com.carrotsearch.hppc.IntIntOpenHashMap filteredRowToStemIndex,
org.apache.mahout.math.matrix.DoubleMatrix2D phraseCos)
Assigns labels to base vectors found by the matrix factorization. |
| Method Detail |
|---|
void assignLabels(LingoProcessingContext context,
org.apache.mahout.math.matrix.DoubleMatrix2D stemCos,
com.carrotsearch.hppc.IntIntOpenHashMap filteredRowToStemIndex,
org.apache.mahout.math.matrix.DoubleMatrix2D phraseCos)
LingoProcessingContext.clusterLabelFeatureIndex and
LingoProcessingContext.clusterLabelScore arrays.
context - contains all information about the current clustering requeststemCos - base vector -- single stems cosine matrixfilteredRowToStemIndex - mapping between row indices of stemCos and indices of
stems in PreprocessingContext.allStemsphraseCos - base vector -- phrase cosine matrix
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||