Closed rhl508 closed 8 months ago
Received an answer from a colleague that worked. It looks like 'nfeatures' was changed to 'n_featuresin' in newer versions of scikit-learn, so they changed mapca to match this.
I downgraded scikit-learn to 1.1.2 and that fixed it
Thank you for reporting this.
First of all, glad you found a workaround!
And second, we may want to open an issue to get this fixed for newer versions of scikit learn.
Ok, my bad. It's been a few crazy months. I already opened a pull request in maPCA that fixes this but haven't finished making other changes to merge it. Consider it done next week.
Thanks so much!
On Fri 26 Jan 2024, 10:18 Eneko Uruñuela, @.***> wrote:
Ok, my bad. It's been a few crazy months. I already opened a pull request in maPCA https://github.com/ME-ICA/mapca/pull/59 that fixes this but haven't finished making other changes to merge it. Consider it done next week.
— Reply to this email directly, view it on GitHub https://github.com/ME-ICA/tedana/issues/1019#issuecomment-1911804391, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFTGOQBP2O6OTXXIP6QOUILYQN7GTAVCNFSM6AAAAABCKNQRFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJRHAYDIMZZGE . You are receiving this because you modified the open/close state.Message ID: @.***>
Hi
I still have the error as above. Is this normal?
I'm using tedana version 23.0.2
Also, (or) how can I downgrade to scikit-learn to 1.1.2 as [rhl508] mentioned previously? I'm using tedana within AFNI (afni_proc) and I had error, so I'm trying at CLI (tedana -d pb03.890012.r01.e01.volreg+tlrc.HEAD pb03.890012.r01.e02.volreg+tlrc.HEAD pb03.890012.r01.e03.volreg+tlrc.HEAD -e 19 38.21 57.42 --mask mask_group+tlrc.HEAD --out-dir tedana_r01 --convention orig --overwrite)
I don't see how I can change this I'm really not an expert with python!
I've attached the error message I received error.txt
thank you patrick
Hi Patrick, thank you for reporting this.
Could you try updating maPCA to the latest version? Version 0.0.5 fixed this issue.
Hi
I'm using tedana version 23.0.2 and it gets quite far through and then errors at the pca. It looks like it's an issue with mapca. I'm using version 0.0.4 but I tried downgrading to 0.0.3 and that didn't work.
Any advice appreciated. Thanks!