However, I get different results when I try to visualize the noisy images, please see below:
This is what the expected result should look like:
I assume that different versions of Python and packages could be the problem. I am using Python 3.10 and the newest versions of all packages. Any suggestions why this is happening will be appreciated.
I am trying to use the unsupervised learning tutorial, which uses the faces dataset from scikit-learn. I have downloaded the files and run them using the Jupyter Notebook. This is the link: https://github.com/amueller/introduction_to_ml_with_python/blob/master/03-unsupervised-learning.ipynb
However, I get different results when I try to visualize the noisy images, please see below:
This is what the expected result should look like:
I assume that different versions of Python and packages could be the problem. I am using Python 3.10 and the newest versions of all packages. Any suggestions why this is happening will be appreciated.