Comments (3)
The arrays don't actually need to be 1D, since they're interpreted as a bunch of samples that are converted into a histogram; the behavior for multidimensional arrays is inherited from np.histogram
. We should remove the "1D" description from the docstring.
from pyemd.
But the function of numpy histogram is flatting the array, isn't this a problem?
https://docs.scipy.org/doc/numpy/reference/generated/numpy.histogram.html
from pyemd.
No, it isn't a problem. The purpose of the function is to compute a histogram on two sets of samples and then measure the distance between the histograms with the EMD, so the shape of the array that the samples are stored in should not matter.
from pyemd.
Related Issues (20)
- pyemd in databricks could not be installed HOT 2
- pyemd not building on MacOS X "Mojave" + Python 3.7 HOT 3
- Cannot install using pip with python3.6 and RHEL 7 HOT 1
- Can't install pyemd v0.4.4 HOT 1
- pyemd not building on MacOS X "Catalina" + Python 3.7 HOT 14
- ERROR: Failed building wheel for pyemd HOT 1
- do you have more challenging example than on main page HOT 5
- PyEMD installation version 0.5.1 fails on Linux HOT 2
- building 'pyemd.emd' extension error: Microsoft Visual C++ 14.0 is required. HOT 2
- some tests hang using 100% CPU forever on 32-bit Debian powerpc
- Error while installing pyemd on Ubuntu 20.04 HOT 2
- Addition of New feature: Statistical Significance test of Residue or trend component HOT 3
- EMD not leading to any results, without any error raised HOT 1
- Zero EMD for equal Histograms HOT 1
- python 3.11 support HOT 2
- ERROR: Failed building wheel for pyemd
- switch from setup.py to pyproject.toml HOT 3
- new release? HOT 1
- Version 1.0.0 was not tagged on GitHub HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyemd.