Skip to content

Different results when using unsupervised learning and faces dataset #169

Open
@karayaneva

Description

@karayaneva

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:

unsupervised

This is what the expected result should look like:

unsupervised2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions