computeMu | R Documentation |
Estimate the normalized columns mu of the beta matrix parameter in a mixture of logistic regressions models, with a spectral method described in the package vignette.
computeMu(X, Y, optargs = list())
X |
Matrix of input data (size nxd) |
Y |
Vector of binary outputs (size n) |
optargs |
List of optional argument:
|
The estimated normalized parameters as columns of a matrix mu of size dxK
multiRun
to estimate statistics based on mu,
and generateSampleIO
for I/O random generation.
io <- generateSampleIO(10000, 1/2, matrix(c(1,0,0,1),ncol=2), c(0,0), "probit") mu <- computeMu(io$X, io$Y, list(K=2)) #or just X and Y for estimated K
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.