Closed usptact closed 9 years ago
The warning can safely be ignored. I just updated so that this warning is not produced. Thanks for point it out.
Sorry, sparse matrices are not supported. I'll have to think carefully at some point about whether this method can get speed benefits from sparsity.
I get the following warning when running your example with four patterns having five variables:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/_methods.py:59: RuntimeWarning: Mean of empty slice. warnings.warn("Mean of empty slice.", RuntimeWarning)
Wondering if this is serious or can be safely ignored.
And by the way, does this implementation support sparse matrices in input?