[Eeglablist] BINICA in Windows

Richards, John RICHARDS at mailbox.sc.edu
Fri Jan 17 13:32:57 PST 2025


CUDAICA says it is an implementation of infomax.  I have used it a lot, its definitely faster.   A lot faster. I've been doing it on linux rather than windows, so don't know how it would work on windows.

John

***********************************************
John E. Richards
Carolina Distinguished Professor
Department of Psychology
University of South Carolina
Columbia, SC  29208
Dept Phone: 803 777 2079
Fax: 803 777 9558
Email: richards-john at sc.edu
https://urldefense.com/v3/__https://jerlab.sc.edu/__;!!Mih3wA!FWi1S3uCcm0BlaMIEHb68DijfV6RgrGuoc14YagU7FDEbZXzrSHVcqevL9P2T1ZZ_zXp4WuBONTwzakyuQkZVANxqxJVpQ$ 
***********************************************

-----Original Message-----
From: eeglablist <eeglablist-bounces at sccn.ucsd.edu> On Behalf Of Scott Makeig via eeglablist
Sent: Friday, January 17, 2025 4:14 PM
To: Makoto Miyakoshi <mmiyakoshi at ucsd.edu>
Cc: eeglablist at sccn.ucsd.edu
Subject: Re: [Eeglablist] BINICA in Windows

But recall that using RUNICA/BINICA  in Extended Infomax mode (the default) is advantageous, as simple Infomax should fail to locate independent components whose probability distribution function (pdf) is subGaussian (e.g., pure line noise).  For most accuracy, we showed in 2012 (Delorme et al., 2012) that AMICA is the most powerful ICA approach because it fits its component pdf model to each component as it learns.  Recently its author, Jason Palmer, has made available an AMICA version on the UCSD supercomputer that can be used for free via the Neuroscience Gateway (nsgportal.org) and is many times faster through proper parallel computing configuration. This is particularly important when using the 2nd major advantage of AMICA, its ability to find multiple ICA models operating on different subsets of the input data -- a sensitive measure of non-stationarity in the ICA source solution (see SH Hsu et al., 2018, 2022).

Does CUDAICA implement Extended Infomax?  I do not recall ...

Scott

On Fri, Jan 17, 2025 at 2:06 PM Makoto Miyakoshi via eeglablist < eeglablist at sccn.ucsd.edu> wrote:

> Hi Andrew,
>
> If you really need speed, try CUDAICA. It can be 15-25 times faster,
> depending on your environment.
>
> https://urldefense.com/v3/__https://sccn/__;!!Mih3wA!FWi1S3uCcm0BlaMIEHb68DijfV6RgrGuoc14YagU7FDEbZXzrSHVcqevL9P2T1ZZ_zXp4WuBONTwzakyuQkZVANQzw86Xw$ 
> .ucsd.edu%2Fwiki%2FMakoto%27s_useful_EEGLAB_code%23By_using_CUDAICA_.2
> 805.2F09.2F2022_updated%3A_Thank_you_Ugo.2C_Yunhui.2C_John.2C_and_Erni
> e.21.29&data=05%7C02%7CRICHARDS%40mailbox.sc.edu%7Cb8ba4f408ee34a854d6
> 208dd373cd69f%7C4b2a4b19d135420e8bb2b1cd238998cc%7C0%7C0%7C63872745662
> 3909594%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMD
> AwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sd
> ata=6ojT1PaQ2SNWWUPG12Sxc7PfYrSqR65h1Ej0VLumB4s%3D&reserved=0
>
> Makoto
>
> On Thu, Jan 16, 2025 at 1:24 PM Andrew Corcoran via eeglablist <
> eeglablist at sccn.ucsd.edu> wrote:
>
> > Hi list
> >
> > I'm rerunning some old preprocessing scripts and having some trouble
> > getting the binica implementation of runica to work with my version
> > of EEGlab (2024.2.1). The script runs fine with an archived version
> > of
> EEGlab
> > from 2021 so I assume I have not set up the binary correctly.
> >
> > I have tried copying over the binica.exe file from my archived
> > version
> and
> > updated icadefs.m to ensure the ICABINARY path is correct.
> > Attempting to run binica via pop_runica produces the following error:
> >
> > Output argument "wts" (and possibly others) not assigned a value in
> > the execution with "binica" function.
> > Error in pop_runica (line 532)
> >             [EEG.icaweights,EEG.icasphere] = binica( tmpdata,
> > 'lrate', 0.001, g.options{:} );
> >
> > I would like to continue using binica given its speed advantages but
> > am concerned that reproducibility of my analyses (by my future self
> > and possibly others) will be hampered if binica is difficult to set up...
> > Indeed,  I struggled to find a convenient download (for Windows) --
> > the github code seems to require compilation, which I don't recall
> > doing previously. Is there a more straightforward alternative ?
> >
> > Thanks
> > Andrew
> >
> >
> > --
> > Dr. Andrew W. Corcoran
> > Post-doctoral Research Fellow
> > Monash Centre for Consciousness & Contemplative Studies <
> >
> https://urldefense.com/v3/__https://urld/__;!!Mih3wA!FWi1S3uCcm0BlaMIEHb68DijfV6RgrGuoc14YagU7FDEbZXzrSHVcqevL9P2T1ZZ_zXp4WuBONTwzakyuQkZVAOm7-iU7Q$ 
> efense.com%2Fv3%2F__http%3A%2F%2Fwww.monash.edu%2Fconsciousness-contem
> plative-studies__%3B!!Mih3wA!BKRCpLqNy1TXMHXE5WoaBYdNGJDn4TNyNuWKRMmyb
> AZkKwVupR5uFEfh4l47c_3-RGLdiMeKTF0s9RLbs3O638jvtg3z3ui7kV8%24&data=05%
> 7C02%7CRICHARDS%40mailbox.sc.edu%7Cb8ba4f408ee34a854d6208dd373cd69f%7C
> 4b2a4b19d135420e8bb2b1cd238998cc%7C0%7C0%7C638727456623924632%7CUnknow
> n%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW
> 4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=qGBdLz5KM0Xr
> 5jsKY4ET3De%2F34Vom3W3rCIlFYIqqX8%3D&reserved=0
> > >
> >
> > Rm 422, 29 Ancora Imparo Way
> > Clayton, VIC 3800, Australia
> > +61 3 9905 4266
> >
> > Website
> > <
> >
> https://urldefense.com/v3/__https://urld/__;!!Mih3wA!FWi1S3uCcm0BlaMIEHb68DijfV6RgrGuoc14YagU7FDEbZXzrSHVcqevL9P2T1ZZ_zXp4WuBONTwzakyuQkZVAOm7-iU7Q$ 
> efense.com%2Fv3%2F__https%3A%2F%2Fwww.monash.edu%2Farts%2Fcognition-an
> d-philosophy-lab%2Fpeople%2Fandrew-corcoran__%3B!!Mih3wA!BKRCpLqNy1TXM
> HXE5WoaBYdNGJDn4TNyNuWKRMmybAZkKwVupR5uFEfh4l47c_3-RGLdiMeKTF0s9RLbs3O
> 638jvtg3zjTfBFD0%24&data=05%7C02%7CRICHARDS%40mailbox.sc.edu%7Cb8ba4f4
> 08ee34a854d6208dd373cd69f%7C4b2a4b19d135420e8bb2b1cd238998cc%7C0%7C0%7
> C638727456623935571%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIl
> YiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0
> %7C%7C%7C&sdata=%2FZZiCh%2FO13RNyZtN%2FYPudPGRaY3I48PWKeUZ7JLsHzc%3D&r
> eserved=0
> > >
> > | Google Scholar
> > <
> >
> https://urldefense.com/v3/__https://urld/__;!!Mih3wA!FWi1S3uCcm0BlaMIEHb68DijfV6RgrGuoc14YagU7FDEbZXzrSHVcqevL9P2T1ZZ_zXp4WuBONTwzakyuQkZVAOm7-iU7Q$ 
> efense.com%2Fv3%2F__https%3A%2F%2Fscholar.google.com%2Fcitations%3Fuse
> r%3DyxKSfdsAAAAJ%26hl%3Den__%3B!!Mih3wA!BKRCpLqNy1TXMHXE5WoaBYdNGJDn4T
> NyNuWKRMmybAZkKwVupR5uFEfh4l47c_3-RGLdiMeKTF0s9RLbs3O638jvtg3zvt-Dcdc%
> 24&data=05%7C02%7CRICHARDS%40mailbox.sc.edu%7Cb8ba4f408ee34a854d6208dd
> 373cd69f%7C4b2a4b19d135420e8bb2b1cd238998cc%7C0%7C0%7C6387274566239463
> 79%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCI
> sIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=k
> Zp85yUaV%2B%2FOm2F6g6CdoOxLdogBHJ%2BT8AqSLdArwMo%3D&reserved=0
> > > |
> > ResearchGate <
> >
> https://urldefense.com/v3/__https://urld/__;!!Mih3wA!FWi1S3uCcm0BlaMIEHb68DijfV6RgrGuoc14YagU7FDEbZXzrSHVcqevL9P2T1ZZ_zXp4WuBONTwzakyuQkZVAOm7-iU7Q$ 
> efense.com%2Fv3%2F__https%3A%2F%2Fwww.researchgate.net%2Fprofile%2FAnd
> rew-Corcoran-5__%3B!!Mih3wA!BKRCpLqNy1TXMHXE5WoaBYdNGJDn4TNyNuWKRMmybA
> ZkKwVupR5uFEfh4l47c_3-RGLdiMeKTF0s9RLbs3O638jvtg3z1eQ4DBY%24&data=05%7
> C02%7CRICHARDS%40mailbox.sc.edu%7Cb8ba4f408ee34a854d6208dd373cd69f%7C4
> b2a4b19d135420e8bb2b1cd238998cc%7C0%7C0%7C638727456623957057%7CUnknown
> %7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4
> zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=9i8eTwrQ0SkXh
> X1GWtybO8FhqBu60hayP145ZMF2ZEs%3D&reserved=0
> > > |
> > ORCID <
> >
> https://urldefense.com/v3/__https://urld/__;!!Mih3wA!FWi1S3uCcm0BlaMIEHb68DijfV6RgrGuoc14YagU7FDEbZXzrSHVcqevL9P2T1ZZ_zXp4WuBONTwzakyuQkZVAOm7-iU7Q$ 
> efense.com%2Fv3%2F__https%3A%2F%2Forcid.org%2F0000-0002-0449-4883__%3B
> !!Mih3wA!BKRCpLqNy1TXMHXE5WoaBYdNGJDn4TNyNuWKRMmybAZkKwVupR5uFEfh4l47c
> _3-RGLdiMeKTF0s9RLbs3O638jvtg3zF4h0rQw%24&data=05%7C02%7CRICHARDS%40ma
> ilbox.sc.edu%7Cb8ba4f408ee34a854d6208dd373cd69f%7C4b2a4b19d135420e8bb2
> b1cd238998cc%7C0%7C0%7C638727456623967741%7CUnknown%7CTWFpbGZsb3d8eyJF
> bXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbC
> IsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=r%2FBoSaz4V6K5lQJwcNDRp2R1awvM5x
> p3Iraf7HbNTjM%3D&reserved=0
> > > | Twitter
> > <
> >
> https://urldefense.com/v3/__https://urld/__;!!Mih3wA!FWi1S3uCcm0BlaMIEHb68DijfV6RgrGuoc14YagU7FDEbZXzrSHVcqevL9P2T1ZZ_zXp4WuBONTwzakyuQkZVAOm7-iU7Q$ 
> efense.com%2Fv3%2F__https%3A%2F%2Ftwitter.com%2Fmr_corcorana__%3B!!Mih
> 3wA!BKRCpLqNy1TXMHXE5WoaBYdNGJDn4TNyNuWKRMmybAZkKwVupR5uFEfh4l47c_3-RG
> LdiMeKTF0s9RLbs3O638jvtg3zbVXNVaM%24&data=05%7C02%7CRICHARDS%40mailbox
> .sc.edu%7Cb8ba4f408ee34a854d6208dd373cd69f%7C4b2a4b19d135420e8bb2b1cd2
> 38998cc%7C0%7C0%7C638727456623978395%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0e
> U1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIld
> UIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=sxYE6PLof4ixj7svv2hnEBkCTaWF3D0r7GmKv
> I9YsVc%3D&reserved=0
> > >
> > _______________________________________________
> > Eeglablist page:
> > https://urldefense.com/v3/__http://scc/__;!!Mih3wA!FWi1S3uCcm0BlaMIEHb68DijfV6RgrGuoc14YagU7FDEbZXzrSHVcqevL9P2T1ZZ_zXp4WuBONTwzakyuQkZVAP3aLl62Q$ 
> > n.ucsd.edu%2Feeglab%2Feeglabmail.html&data=05%7C02%7CRICHARDS%40mail
> > box.sc.edu%7Cb8ba4f408ee34a854d6208dd373cd69f%7C4b2a4b19d135420e8bb2
> > b1cd238998cc%7C0%7C0%7C638727456623990213%7CUnknown%7CTWFpbGZsb3d8ey
> > JFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTW
> > FpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=Lf4VIqRa8P4ym%2BA3v52ZADoi
> > AU78hVOH6vKgCrlGf6Q%3D&reserved=0 To unsubscribe, send an empty
> > email to eeglablist-unsubscribe at sccn.ucsd.edu
> > For digest mode, send an email with the subject "set digest mime" to
> > eeglablist-request at sccn.ucsd.edu
> >
> _______________________________________________
> Eeglablist page:
> https://urldefense.com/v3/__http://sccn/__;!!Mih3wA!FWi1S3uCcm0BlaMIEHb68DijfV6RgrGuoc14YagU7FDEbZXzrSHVcqevL9P2T1ZZ_zXp4WuBONTwzakyuQkZVAM-qABVMg$ .
> ucsd.edu%2Feeglab%2Feeglabmail.html&data=05%7C02%7CRICHARDS%40mailbox.
> sc.edu%7Cb8ba4f408ee34a854d6208dd373cd69f%7C4b2a4b19d135420e8bb2b1cd23
> 8998cc%7C0%7C0%7C638727456624002407%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU
> 1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldU
> IjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=aWEQc9CBgao7S2%2B9oR6EJMy4c5G8yU3DBixd
> s5faq1Y%3D&reserved=0 To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu



--
Scott Makeig, Research Scientist and Director, Swartz Center for Computational Neuroscience, Institute for Neural Computation, University of California San Diego, La Jolla CA 92093-0559, http://sccn.ucsd.edu/~scott
_______________________________________________
Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu


More information about the eeglablist mailing list