Learn R Programming

FPCdpca (version 0.1.0)

Drpca: Distributed random PCA

Description

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

Usage

Drpca(data,K, nk,d)

Value

MSEXrp, MSEvrp, kSopt, kxopt

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.

Examples

Run this code
K=20; nk=50; nr=50; p=8;d=5; n=K*nk;
data=matrix(c(rnorm((n-nr)*p,0,1),rpois(nr*p,100)),ncol=p)
Drpca(data,K, nk,d)

Run the code above in your browser using DataLab