R: Convert Coordinates of Matrix Factorization to Labels
getMatrixFactorizationLabels
R Documentation
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
labels
vector containing the label assignment for each document.