Note
Go to the end to download the full example code.
Run ICA On Toy Data¶
Generate Data and Load AMICA Results for Comparison¶
%%
data_dir = amica.datasets.data_path() / "toy_2" / "amicaout_toy_2"
x = amica.utils.generate_toy_data(n_samples=10_000, noise_factor=.05, seed=42)
Run AMICA and FastICA for comparison¶
fi = FastICA()
z = fi.fit_transform(x)
apply the learned unmixing matrix to the data
Plot Results¶

Total running time of the script: (0 minutes 7.948 seconds)