Describe 襷_襴曙焔覿 here
襴曙焔覿 讌 れ fastICA mlica螳 . 覲危 fastICA螳 襴 一碁.
襭 襷り鍵
螳 襯 磯手覃伎 企慨. 襾殊 2螳 螳 螳讌 500螳 襭襯 襷れ.
S = matrix(runif(1000), 500, 2)
れ 狩 (mixing matrix)襯 襷.
A = matrix(c(1, 1, -1, 3), 2, 2, byrow = TRUE)
襭 狩 螻燕覃 蟯谿一襭螳 襷れ伎.
X <- S%*%A
fastICA
fastICA 螳 れ襯 覿れ れ 蟯谿一襭 焔 螳襷 l伎朱 .
require(fastICA)
a <- fastICA(X, 2)
mlica
mlica
PriorNormPCA朱 譯殊焔覿 れ , proposeNCP朱 焔 襯 蟆一螻 mlica 蟆譯朱 .
require(mlica)
prPCA <- PriorNormPCA(S)
prNCP <- proposeNCP(prPCA,0.01)
b = mlica(prNCP,nruns=5)
蠏碁
襷 蠏碁殊 蠏碁襦 蠏碁Μる 螳.
par(mfrow = c(1, 5))
plot(S, main="original")
plot(a$X, main = "Pre-processed",col="red")
plot(a$X%*%a$K, main = "PCA",col="green")
plot(a$S, main = "fastICA",col="blue")
plot(b$S, main = "mlICA",col="purple")