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

mv_classify cannot generalize across time with neighbours #31

Open
nastarandarjani opened this issue Apr 18, 2022 · 1 comment
Open

Comments

@nastarandarjani
Copy link
Contributor

Hi
How can I classify and generalize across time with 3 neighbours?
mv_classify cannot do that and asserts 'Searchlight and generalization are currently not supported simultaneously'.

@treder
Copy link
Owner

treder commented Apr 19, 2022

Hi, the problem that for performance reasons MVPA Light reshapes the multi-dimensional array when doing generalization (t avoid looping over the second dimension). This is easily doable without neighbours, with neighbours you essentially need a double loop (one for train, one for test).

It would be ugly to include it in the current mv_classify code so I have to think about how to do it. For now I'm afraid you have to do the double loop yourself and do the train/test manually.

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