@@ -22,6 +22,15 @@ For example, if you want to use nmf, type:
Don't hesitate to reach the author in case of problem. Comments are welcomed!
### Note on Python and Numpy versions
As of now, algorithms do not work with numpy versions higher than 1.24. This is an issue open on git (https://github.com/ax-le/nn-fac/issues/1), and should be fixed in the future.
For now, we only can ensure that the algorithms work with numpy version 1.23.5. Sorry for the incovenience.
Consequently, numpy 1.23.5 is only set to work with python <= 3.11. We recommand using python 3.10.4, as we ensure that the code will work with that version.
Sorry for the incovenience!
## Contents
### NNLS
This toolbox contains a NNLS resolution algorithm, developed as described in [1]. This code is based on COHEN Jeremy python code adaptation of GILLIS Nicolas MatLab code.
# TODO: An error is raised with numpy versions higher that 1.24. It is probably due to the following modification in numpy:
# "Ragged array creation will now always raise a ValueError unless dtype=object is passed. This includes very deeply nested sequences." (https://numpy.org/devdocs/release/1.24.0-notes.html)
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name="nn_fac",
version="0.3.2",
version="0.3.3",
author="Marmoret Axel",
author_email="axel.marmoret@irisa.fr",
description="Nonnegative factorization toolbox.",
...
...
@@ -26,10 +26,9 @@ setuptools.setup(
license='BSD',
install_requires=[
'nimfa',
'numpy >= 1.18.0',
'numpy >= 1.18.0, <1.24',# Starting from version 1.24, the NTD algorithm (and potentially the others) does not work anymore. Realted to issue #1 https://github.com/ax-le/nn-fac/issues/1. Should be fixed in the future.