odc.cv: Optimal Discriminant Clustering

Description Usage Arguments Value

Description

To obtain ODC components and other relevant predictions in ODC method.

Usage

1
odc.cv(data, k, lambda2)

Arguments

data

A numberic dataset matrix.

k

An integer scalar with the desired number of groups.

lambda2

L2 penalty parameter, if lambda2=-1, then odc.clust choose the optimal lambda2 automatically given lambda2.idx. Otherwise perfoms ODC clustering using given lambda2.

Value

Z

The ODC component.It is an n by k-1 matrix where n is the number of observations.

yhat

Predicted scoring matrix Y using ODC method.

what

Predicted W using ODC method.

s

Predicted S using ODC method.

hnx

The product of an n by n centering matrix and the input data matrix.


SODC documentation built on May 2, 2019, 3:35 p.m.