raamana / neuropredict

Easy and comprehensive assessment of predictive power, with support for neuroimaging features

Home Page:https://raamana.github.io/neuropredict/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Numpy warning during csv export

atheyers opened this issue · comments

/global/home/hpc4089/.local/lib/python3.5/site-packages/numpy/core/_methods.py:140: RuntimeWarning: Degrees of freedom <= 0 for slice
  keepdims=keepdims)
/global/home/hpc4089/.local/lib/python3.5/site-packages/numpy/core/_methods.py:132: RuntimeWarning: invalid value encountered in double_scalars
  ret = ret.dtype.type(ret / rcount)

This only happens when using -fs selectkbest_f_classif. If the default, variancethreshold is used, there is no error.

Thanks - it seems something specific to particular type of data. What I need to know where this warning is raised from inside neuropredict. May need to reproduce it in debuggable way. If this is causing any issues, I will investigate it more