Finds the gradient of the normalised cut across the best hyperplane orthogonal to a given projection vector. Used to obtain minimum normalised cut hyperplanes using gradient based optimisation.
df_ncut(v, X, P)
a numeric vector of length ncol(X)
a numeric matrix (num_data x num_dimensions) to be projected on v
a list of parameters including (at least) $s (positive numeric scaling parameter), $nmin (positive integer minimum cluster size).
the (vector) gradient of the normalised cut across the best hyperplane orthogonal to v.