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

suppress warning messages when using featurize_single_ts function #271

Open
shujamughal opened this issue Jul 25, 2018 · 6 comments
Open

Comments

@shujamughal
Copy link

Hi,

is it possible to suppress the warning messages which are generated by the featurize_single_ts function during getting the features?

Thanks
shuja

@stefanv
Copy link
Contributor

stefanv commented Jul 25, 2018 via email

@shujamughal
Copy link
Author

Hi, the following are the warning messages. and I think, there should be the way to suppress these warnings in the library.

/usr/lib/python3/dist-packages/numpy/core/_methods.py:101: RuntimeWarning: invalid value encountered in subtract
x = asanyarray(arr - arrmean)
/usr/local/lib/python3.5/dist-packages/cesium/features/cadence_features.py:12: RuntimeWarning: divide by zero encountered in true_divide
return (cads[2:] + cads[:-2]) / (cads[1:-1] - cads[:-2])
/usr/lib/python3/dist-packages/numpy/core/_methods.py:101: RuntimeWarning: invalid value encountered in subtract
x = asanyarray(arr - arrmean)
/usr/local/lib/python3.5/dist-packages/cesium/features/cadence_features.py:12: RuntimeWarning: divide by zero encountered in true_divide
return (cads[2:] + cads[:-2]) / (cads[1:-1] - cads[:-2])
/usr/lib/python3/dist-packages/numpy/core/_methods.py:101: RuntimeWarning: invalid value encountered in subtract
x = asanyarray(arr - arrmean)
/usr/local/lib/python3.5/dist-packages/cesium/features/cadence_features.py:12: RuntimeWarning: divide by zero encountered in true_divide
return (cads[2:] + cads[:-2]) / (cads[1:-1] - cads[:-2])
/usr/lib/python3/dist-packages/numpy/core/_methods.py:101: RuntimeWarning: invalid value encountered in subtract
x = asanyarray(arr - arrmean)
/usr/local/lib/python3.5/dist-packages/cesium/features/cadence_features.py:12: RuntimeWarning: divide by zero encountered in true_divide
return (cads[2:] + cads[:-2]) / (cads[1:-1] - cads[:-2])
/usr/lib/python3/dist-packages/numpy/core/_methods.py:101: RuntimeWarning: invalid value encountered in subtract
x = asanyarray(arr - arrmean)
/usr/local/lib/python3.5/dist-packages/cesium/features/cadence_features.py:12: RuntimeWarning: divide by zero encountered in true_divide
return (cads[2:] + cads[:-2]) / (cads[1:-1] - cads[:-2])
/usr/lib/python3/dist-packages/numpy/core/_methods.py:101: RuntimeWarning: invalid value encountered in subtract
x = asanyarray(arr - arrmean)
/usr/local/lib/python3.5/dist-packages/cesium/features/cadence_features.py:12: RuntimeWarning: divide by zero encountered in true_divide
return (cads[2:] + cads[:-2]) / (cads[1:-1] - cads[:-2])
/usr/lib/python3/dist-packages/numpy/core/_methods.py:101: RuntimeWarning: invalid value encountered in subtract
x = asanyarray(arr - arrmean)
/usr/lib/python3/dist-packages/numpy/lib/function_base.py:3569: RuntimeWarning: Invalid value encountered in median
RuntimeWarning)
/usr/lib/python3/dist-packages/numpy/lib/function_base.py:3834: RuntimeWarning: Invalid value encountered in percentile
RuntimeWarning)
/usr/local/lib/python3.5/dist-packages/cesium/features/cadence_features.py:12: RuntimeWarning: divide by zero encountered in true_divide

@stefanv
Copy link
Contributor

stefanv commented Jan 28, 2019

@acrellin We should probably not be seeing divide by zero errors. Can you reproduce these?

@talhaanwarch
Copy link

@stefanv i am facing the same issue, though i am running the example (http://cesium-ml.org/docs/auto_examples/plot_EEG_Example.html) ,you can simply reproduce it, while running feature section

@BHBoeschen
Copy link

i am having troubles with the sample dataset of Andrzejak et al. as well. is there a way around it?

@stefanv
Copy link
Contributor

stefanv commented Jun 26, 2022

I cannot reproduce with the current version; can you verify that it is still present?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants