Drp {FPCdpca}R Documentation

Distributed random projection

Description

Distributed random projection is a technology that applies random projection to distributed computing environments.

Usage

Drp(data,K, nk,d)

Arguments

data

is sparse random projection matrix.

K

is the number of distributed nodes.

nk

is the size of subsets.

d

is the dimension number.

Value

MSEXrp,MSEvrp, MSESrp, kopt

Examples

K=20; nk=50; nr=10; p=8; d=5; n=K*nk;
data=matrix(c(rnorm((n-nr)*p,0,1),rpois(nr*p,100)),ncol=p)
data=matrix(rpois((n-nr)*p,1),ncol=p); rexp(nr*p,1); rchisq(10000, df = 5);
Drp(data=data,K=K, nk=nk,d=d)

[Package FPCdpca version 0.1.0 Index]