<div dir="ltr">Great! That worked fine, thanks!</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 1, 2018 at 3:14 PM Beau R. Sievers <<a href="mailto:Beau.R.Sievers.GR@dartmouth.edu">Beau.R.Sievers.GR@dartmouth.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Dmitrii,<br>
<br>
For saving the maps, I think you can just:<br>
<br>
import mvpa2.suite as mv<br>
...<br>
mv.h5save(output_path, slhypmaps)<br>
<br>
Best,<br>
Beau<br>
<br>
<br>
<br>
<br>
> On Nov 1, 2018, at 1:05 PM, Dmitrii Paniukov <<a href="mailto:dmitrii.paniukov@gmail.com" target="_blank">dmitrii.paniukov@gmail.com</a>> wrote:<br>
> <br>
> Hello all,<br>
> <br>
> Does anyone know how to save a hyperalignment mapper? So it can be used later.<br>
> <br>
> I'm reusing the tutorial code:<br>
> slhyper = SearchlightHyperalignment(radius=3, featsel=0.4, sparse_radius=3)<br>
> slhypmaps = slhyper(ds_train)<br>
> <br>
> How do I save the slhypmaps, so I can use it later as in:<br>
> ds_hyper = [h.forward(sd) for h, sd in zip(slhypmaps, ds_test)]<br>
> ds_orig = [h.reverse(sd) for h, sd in zip(slhypmaps, ds_hyper)]<br>
> <br>
> By the way, am I using the reverse transform correctly? <br>
> <br>
> Thanks for any suggestions!<br>
> Dmitrii <br>
> <br>
> _______________________________________________<br>
> Pkg-ExpPsy-PyMVPA mailing list<br>
> <a href="mailto:Pkg-ExpPsy-PyMVPA@alioth-lists.debian.net" target="_blank">Pkg-ExpPsy-PyMVPA@alioth-lists.debian.net</a><br>
> <a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Falioth-lists.debian.net%2Fcgi-bin%2Fmailman%2Flistinfo%2Fpkg-exppsy-pymvpa&amp;data=02%7C01%7Cbeau.r.sievers.gr%40dartmouth.edu%7Cea9f301adaba4eb5c98208d6401ffb9d%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C636766903445566484&amp;sdata=4%2FKf47vq6Lbi0L1kuOUnSd5e8dkl5vy6RsJEK3XvVKk%3D&amp;reserved=0" rel="noreferrer" target="_blank">https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Falioth-lists.debian.net%2Fcgi-bin%2Fmailman%2Flistinfo%2Fpkg-exppsy-pymvpa&amp;data=02%7C01%7Cbeau.r.sievers.gr%40dartmouth.edu%7Cea9f301adaba4eb5c98208d6401ffb9d%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C636766903445566484&amp;sdata=4%2FKf47vq6Lbi0L1kuOUnSd5e8dkl5vy6RsJEK3XvVKk%3D&amp;reserved=0</a><br>
<br>
<br>
_______________________________________________<br>
Pkg-ExpPsy-PyMVPA mailing list<br>
<a href="mailto:Pkg-ExpPsy-PyMVPA@alioth-lists.debian.net" target="_blank">Pkg-ExpPsy-PyMVPA@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa</a></blockquote></div>