Description Super class Public fields Methods References
R implementation of ICA based LiNGAM algorithm See reference for details of the algorithm
rlingam::LiNGAM
-> ICALiNGAM
max_iter
(integer) maximum iterations for fastICA
new()
create ICALiNGAM object
ICALiNGAM$new(random_state = NULL, lasso_engine = "glmnet", max_iter = 1000)
random_state
(integer) Random seed
lasso_engine
(character) "lars" or "glmnet"
max_iter
(integer) maximum iterations of fastICA
fit()
fit DirectLiNGAM
ICALiNGAM$fit(X)
X
(numeric matrix or data.frame) data matrix to fit Estimate causal order based on estimated adjacency matrix
estimate_causal_order()
if B is not DAG, set small elements to zero until DAG is obtained
ICALiNGAM$estimate_causal_order(B)
B
(matrix) estimated adjacency matrix
integer vector of length(ncol(B)) get causal order of estimated adjacency matrix
search_causal_order()
if given matrix is not DAG, return NULL
ICALiNGAM$search_causal_order(B)
B
(matrix) estimated adjacency matrix
vector of length(ncol(B)) or NULL
clone()
The objects of this class are cloneable with this method.
ICALiNGAM$clone(deep = FALSE)
deep
Whether to make a deep clone.
S. Shimizu, P. O. Hoyer, A. Hyvärinen, and A. J. Kerminen. A linear non-gaussian acyclic model for causal discovery. Journal of Machine Learning Research, 7:2003-2030, 2006.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.