Gradient_cpp: Gradient and objective function

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Global objective function and gradient computations with respect to cluster centroid vectors and their weights.

Usage

1
Gradient_cpp(x, SK, W, K)

Arguments

x

is a data vector. Its first K*n components are cluster centroids and its last K components are the centroid weights.

SK

is a data sketch vector.

W

is a frequency matrix.

K

is a number of cluster centroids.

Value


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

Related to Gradient_cpp in chickn...