PPCI (version 0.1.5)

df_mc: Gradient of the Variance Ratio Clusterability Across a Hyperplane

Description

Finds the gradient of the variance ratio across the best hyperplane orthogonal to a given projection vector. Used to obtain maximum clusterability hyperplanes using gradient based optimisation.

Usage

df_mc(v, X, P)

Arguments

v

a numeric vector of length ncol(X)

X

a numeric matrix (num_data x num_dimensions) to be projected on v

P

a list of parameters including (at least) $nmin (positive integer minimum cluster size).

Value

the (vector) gradient of the variance across the best hyperplane orthogonal to v.