Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preprocessing of the features #36

Closed
ameliajimenez opened this issue Jan 25, 2018 · 3 comments
Closed

Preprocessing of the features #36

ameliajimenez opened this issue Jan 25, 2018 · 3 comments

Comments

@ameliajimenez
Copy link

ameliajimenez commented Jan 25, 2018

Hello Leland,

Congrats for the work and thanks for the code and examples. Looking forward for the paper!

If we'd like to use UMAP with the features that output a CNN, for example on MNIST dataset. Do the features need to be zero-centered? Or in some range?

I get the following error when running fit_transform(data): "ZeroDivisionError: division by zero".

Thanks again,
Amelia.

@100518832
Copy link

Hi @amejs,

I too had the same error, it has been fixed on the master; however, if you use pip install to download umap, you will still need to find the repo with the setup.py file (generated when you unzip umap-master). Once you are in the directory with setup.py, from command line run the following:

python setup.py install

This should fix your problem.

Also if you have anymore questions please check the closed issues, as this has already been solved.

I am however still interested in your comment about zero-centred data. I would like to know if UMAP is intended to be used only on data-sets, where the features have been normalised, or zero-centred?

Cheers,

100518832

@ameliajimenez
Copy link
Author

Hi Ralph,

Perfect, I'll do that, thanks 👍

@sleighsoft
Copy link
Collaborator

Please open a new issue if you are still interested. Closing due to being a stale issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants