LossMat {lsbclust}R Documentation

C++ Function for Interaction Loss Function

Description

This function calculates the loss function for the interaction clustering for all data slices and clusters means. The inputs are numeric matrices.

Arguments

x

The data matrix, with the N slices strung out as vectors in the columns.

y

The matrix of cluster means, with each mean represented by a row.

Value

A numeric matrix with nclust rows and N columns.


[Package lsbclust version 1.1 Index]