Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'RuntimeWarning: Mean of empty slice' during metafeature calculation #819

Closed
RitterHannah opened this issue Apr 9, 2020 · 3 comments
Closed
Labels
enhancement A new improvement or feature

Comments

@RitterHannah
Copy link

Hello,

When building my own metafeatures using the scripts provided, the following warnings appear during 03_calculate_metafeatures:

[Memory] Calling __main__--WORKINGDIR-03_calculate_metafeatures.calculate_metafeatures...
calculate_metafeatures(254)
254
/home/XXX/.local/lib/python3.6/site-packages/numpy/lib/nanfunctions.py:1667: RuntimeWarning: Degrees of freedom <= 0 for slice.
  keepdims=keepdims)
/home/XXX/.local/lib/python3.6/site-packages/autosklearn/metalearning/metafeatures/metafeatures.py:437: RuntimeWarning: Mean of empty slice
  mean = np.nanmean(values)

Is this something to worry about or can it be ignored?

@mfeurer
Copy link
Contributor

mfeurer commented Apr 13, 2020

I think this is nothing to worry about, but I have encountered similar warnings when computing meta-features (for example on dataset 75221). We'll have a look into this in the mid-future.

@franchuterivera franchuterivera added the enhancement A new improvement or feature label Feb 17, 2021
@github-actions
Copy link
Contributor

github-actions bot commented May 5, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs for the next 7 days. Thank you for your contributions.

@github-actions github-actions bot added the stale label May 5, 2021
@mfeurer mfeurer removed the stale label May 6, 2021
@eddiebergman
Copy link
Contributor

This is documented and collected in PR #1238 and will be handled there and recreated as an issue for whatever is not fixed in that PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new improvement or feature
Projects
None yet
Development

No branches or pull requests

4 participants