getMatrixFactorizationLabels: Convert Coordinates of Matrix Factorization to Labels

Description Usage Arguments Value Author(s) See Also

View source: R/matrixFactorization.R

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

1

Arguments

prismaMF

a matrix factorization object.

Value

labels

vector containing the label assignment for each document.

Author(s)

Tammo Krueger <tammokrueger@googlemail.com>

See Also

prismaNMF


PRISMA documentation built on May 1, 2019, 10:15 p.m.