Dmitrii Paniukov
2018-11-01 17:05:23 UTC
Hello all,
Does anyone know how to save a hyperalignment mapper? So it can be used
later.
I'm reusing the tutorial code:
slhyper = SearchlightHyperalignment(radius=3, featsel=0.4, sparse_radius=3)
slhypmaps = slhyper(ds_train)
How do I save the slhypmaps, so I can use it later as in:
ds_hyper = [h.forward(sd) for h, sd in zip(slhypmaps, ds_test)]
ds_orig = [h.reverse(sd) for h, sd in zip(slhypmaps, ds_hyper)]
By the way, am I using the reverse transform correctly?
Thanks for any suggestions!
Dmitrii
Does anyone know how to save a hyperalignment mapper? So it can be used
later.
I'm reusing the tutorial code:
slhyper = SearchlightHyperalignment(radius=3, featsel=0.4, sparse_radius=3)
slhypmaps = slhyper(ds_train)
How do I save the slhypmaps, so I can use it later as in:
ds_hyper = [h.forward(sd) for h, sd in zip(slhypmaps, ds_test)]
ds_orig = [h.reverse(sd) for h, sd in zip(slhypmaps, ds_hyper)]
By the way, am I using the reverse transform correctly?
Thanks for any suggestions!
Dmitrii