Numpy warning during csv export
atheyers opened this issue · comments
atheyers commented
/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 commented
This only happens when using -fs selectkbest_f_classif. If the default, variancethreshold is used, there is no error.
Pradeep Reddy Raamana commented
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