Learn R Programming

PRISMA (version 0.2-1)

getMatrixFactorizationLabels: Convert Coordinates of Matrix Factorization to Labels

Description

Given a matrix factorization object $A = B C$, this function returns for each document the index of the inner dimension which has the maximal coordinate. Thus, it converts the fuzzy clustering found in the columns of the $C$ matrix into a hard clustering by returning the position with the maximal coordinate value.

Usage

getMatrixFactorizationLabels(prismaMF)

Arguments

prismaMF
a matrix factorization object.

Value

  • labelsvector containing the label assignment for each document.

See Also

prismaNMF