Skip to contents

Setup ICA config.

Usage

setup_ICA(
  k = 3L,
  type = c("parallel", "deflation"),
  fun = c("logcosh", "exp"),
  alpha = 1,
  row_norm = TRUE,
  maxit = 100L,
  tol = 1e-04
)

Arguments

k

Integer: Number of components.

type

Character: Type of ICA: "parallel" or "deflation".

fun

Character: ICA function: "logcosh", "exp".

alpha

Numeric [1, 2]: Used in approximation to neg-entropy with fun = "logcosh".

row_norm

Logical: If TRUE, normalize rows of x before ICA.

maxit

Integer: Maximum number of iterations.

tol

Numeric: Tolerance.

Value

ICAConfig object.

Author

EDG

Examples

ica_config <- setup_ICA(k = 3L)
ica_config
#> <ICA DecompositionConfig>
#>        k: <int> 3
#>     type: <chr> parallel
#>      fun: <chr> logcosh
#>    alpha: <nmr> 1.00
#> row_norm: <lgc> TRUE
#>    maxit: <int> 100
#>      tol: <nmr> 1e-04