<html><head></head><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1457701691176_15220">Dear Mr. Yaroslav</div><div id="yui_3_16_0_1_1457701691176_15220">Thanks for your quick and valuable answers. However I have no idea how to fix the last warning message, Do you have any suggestions? </div><div id="yui_3_16_0_1_1457701691176_15220"><br></div><div id="yui_3_16_0_1_1457701691176_15220">Sincerely</div><div id="yui_3_16_0_1_1457701691176_15220">Salim </div><div id="yui_3_16_0_1_1457701691176_15220"><br></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: arial, helvetica, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Friday, 11 March 2016, 14:24, Yaroslav Halchenko <debian@onerussian.com> wrote:<br></font></div>  <br><br> <div class="y_msg_container"><br clear="none">On Fri, 11 Mar 2016, Salim Al-wasity wrote:<br clear="none"><br clear="none">> DearsI am quite new user of PyMVPA package and I have some warning messages:<br clear="none">> 1- When I use (from mvpa2.suite import *) I get this:<br clear="none">> Warning (from warnings module):  File "C:\Python27\lib\site-packages\numpy\lib\utils.py", line 99    warnings.warn(depdoc, DeprecationWarning)DeprecationWarning: `scipy.weave` is deprecated, use `weave` instead!<br clear="none">> Warning (from warnings module):  File "C:\Python27\lib\site-packages\scipy\integrate\quadpack.py", line 352    warnings.warn(msg, IntegrationWarning)IntegrationWarning: Extremely bad integrand behavior occurs at some points of the  integration interval.<br clear="none"><br clear="none">not sure where 2nd one comes from atm.... but I guess both are safe to<br clear="none">ignore for now... we should address them eventually<br clear="none"><br clear="none">> 2- When I train a classifier using a searchlight results:clf=LinearCSVMC()cv = CrossValidation(clf, NFoldPartitioner())sl = sphere_searchlight(cv, radius=3, postproc=mean_sample())sel=FractionTailSelector(0.005, mode='select', tail='lower')<br clear="none">> new_ds=ds[:,sel(res)]<br clear="none">> cvte=CrossValidation(clf, NFoldPartitioner(), enable_ca=['stats'])results = cvte(new_ds) ###print np.round(cvte.ca.stats.stats['ACC%'], 1)I get this error when I execute the last (print ) command:<br clear="none">> Warning (from warnings module):  File "C:\Python27\lib\site-packages\numpy\lib\utils.py", line 99    warnings.warn(depdoc, DeprecationWarning)DeprecationWarning: `nanmean` is deprecated!scipy.stats.nanmean is deprecated in scipy 0.15.0 in favour of numpy.nanmean.<br clear="none"><br clear="none">also should be safe to ignore since didn't crash... we should address it<div class="yqt0391822972" id="yqtfd40225"><br clear="none"><br clear="none">> 3- When I use (evds = fit_event_hrf_model(ds,events,time_attr='time_coords',condition_attr=('targets', 'chunks'))) I get this:<br clear="none">> Warning (from warnings module):  File "C:\Python27\lib\site-packages\nipy\modalities\fmri\design_matrix.py", line 229    warn('Matrix is singular at working precision, regularizing...')UserWarning: Matrix is singular at working precision, regularizing...<br clear="none">> Warning (from warnings module):  File "C:\Python27\lib\site-packages\nipy\modalities\fmri\glm.py", line 127    (ols_result.resid ** 2).sum(0))RuntimeWarning: invalid value encountered in divide</div><br clear="none"><br clear="none">suggests that most probably design matrix is degenerate<br clear="none">(collinearities).  probably better to not ignore<br clear="none"><br clear="none">-- <br clear="none">Yaroslav O. Halchenko<br clear="none">Center for Open Neuroscience     <a shape="rect" href="http://centerforopenneuroscience.org/" target="_blank">http://centerforopenneuroscience.org</a><br clear="none">Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755<br clear="none">Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419<br clear="none">WWW:   <a shape="rect" href="http://www.linkedin.com/in/yarik" target="_blank">http://www.linkedin.com/in/yarik </a><div class="yqt0391822972" id="yqtfd65380">       <br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>