Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isc() got an unexpected keyword argument 'n_bootstraps' #427

Closed
annikabrueckner opened this issue Mar 5, 2024 · 1 comment
Closed

isc() got an unexpected keyword argument 'n_bootstraps' #427

annikabrueckner opened this issue Mar 5, 2024 · 1 comment
Assignees

Comments

@annikabrueckner
Copy link

Dear all,
can you help me fix the error message?
I imported all necessary packages from the nltools-module.
Code imported from Tutorial of Chang et al., about the Intersubject Representational Similarty Analysis (https://naturalistic-data.org/content/Intersubject_RSA.html#calculate-behavioral-similarity)

isc = {node:similarity_matrices[node].isc(metric='mean', n_bootstraps=1, n_jobs=1)['isc'] for node in range(n_nodes)}

@ljchang ljchang self-assigned this May 1, 2024
@ljchang
Copy link
Member

ljchang commented May 1, 2024

Hi @annikabrueckner, Sorry for the delay in responding.

This is an error resulting from a small change we made to the keyword arguments in the ISC function. n_bootstraps is now n_samples. See if that fixes your issue. I've also updated the tutorial on naturalistic-data.

Thanks for letting us know you ran into this error. This is the main way we can keep the tutorials up to date.

@ljchang ljchang closed this as completed May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants