You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the function generate_median_preimages_by_class(), the results after the first class are not correct when I run the code in Ubuntu terminal using # python3 ....
The answer here says it has something to do with the Cython and conda. I do have conda installed. So I use a fresh virtual environment without conda and the results seems correct, but I still do not know exactly why.
The output results are not correct after the first class. However, If I remove the first class before computation, then the results of the first class in the remainder (the original second class) is correct, and the results of the new second class (the original third class) is wrong. This problem does not occur in Spyder3 (4.1.1) console IPython 7.0.1 or fresh virtualenv with only Python modules required installed.
When using the function
generate_median_preimages_by_class()
, the results after the first class are not correct when I run the code in Ubuntu terminal using# python3 ...
.The answer here says it has something to do with the
Cython
andconda
. I do haveconda
installed. So I use a fresh virtual environment withoutconda
and the results seems correct, but I still do not know exactly why.Reproducing code example:
Here is the
test.py
:Error message:
When I run in Ubuntu terminal:
python3 test.py
The output results are not correct after the first class. However, If I remove the first class before computation, then the results of the first class in the remainder (the original second class) is correct, and the results of the new second class (the original third class) is wrong. This problem does not occur in Spyder3 (4.1.1) console IPython 7.0.1 or fresh virtualenv with only Python modules required installed.
graphkit-learn/Python version information:
Python 3.6.9
graphkit-learn 0.1
Ubuntu 18.04.4 LTS
The text was updated successfully, but these errors were encountered: