neuropredict icon indicating copy to clipboard operation
neuropredict copied to clipboard

Numpy warning during csv export

Open atheyers opened this issue 6 years ago • 2 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)

atheyers avatar Jul 31 '19 18:07 atheyers

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

atheyers avatar Aug 02 '19 16:08 atheyers

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

raamana avatar Aug 02 '19 23:08 raamana