ObjFun_OMP_cpp: Objective function

Description Usage Arguments Details Value

View source: R/RcppExports.R

Description

Objective function of the minimization with respect to the cluster centroids

Usage

1
ObjFun_OMP_cpp(c, W, residue)

Arguments

c

is a cluster centroid 1xn

W

is a frequency matrix mxn

residue

is a vector

Details

The residue vector is equal to (Sketch(Data, W) - ∑_{k=1}^K α_k *Sketch(c_k, W)).

Value

The objective function value


chickn documentation built on Jan. 13, 2021, 10:53 p.m.