Skip to content

RuntimeWarning: Mean of empty slice mean_ = np.nanmean(X, axis) #2

@hellmrf

Description

@hellmrf

When executing a pure correlation cut (Filter > Correlation cut), we get some warnings. The output files are generated, apparently with all ok. Anyway, it worths a revision.

/home/helitonmrf/anaconda3/envs/QSARModelingPy/lib/python3.8/site-packages/sklearn/preprocessing/_data.py:158: RuntimeWarning: Mean of empty slice
  mean_ = np.nanmean(X, axis)
/home/helitonmrf/anaconda3/envs/QSARModelingPy/lib/python3.8/site-packages/numpy/lib/nanfunctions.py:1666: RuntimeWarning: Degrees of freedom <= 0 for slice.
  var = nanvar(a, axis=axis, dtype=dtype, out=out, ddof=ddof,
/home/helitonmrf/anaconda3/envs/QSARModelingPy/lib/python3.8/site-packages/sklearn/preprocessing/_data.py:166: RuntimeWarning: Mean of empty slice
  mean_1 = np.nanmean(Xr, axis=0)
/home/helitonmrf/anaconda3/envs/QSARModelingPy/lib/python3.8/site-packages/sklearn/preprocessing/_data.py:173: UserWarning: Numerical issues were encountered when centering the data and might not be solved. Dataset may contain too large values. You may need to prescale your features.
  warnings.warn("Numerical issues were encountered "
/home/helitonmrf/anaconda3/envs/QSARModelingPy/lib/python3.8/site-packages/sklearn/preprocessing/_data.py:183: RuntimeWarning: Mean of empty slice
  mean_2 = np.nanmean(Xr, axis=0)
/home/helitonmrf/anaconda3/envs/QSARModelingPy/lib/python3.8/site-packages/sklearn/preprocessing/_data.py:190: UserWarning: Numerical issues were encountered when scaling the data and might not be solved. The standard deviation of the data is probably very close to 0. 
  warnings.warn("Numerical issues were encountered "

Metadata

Metadata

Assignees

No one assigned

    Labels

    InvestigateIssues that were confirmed, but the source isn't clear. Will need investigation efforts.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions