Coder Social home page Coder Social logo

ft-sne's People

Contributors

jiwoongim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jdtuck

ft-sne's Issues

`final_momentum` parameter is never used

I don't think that the final momentum value is ever used. The momentum-decay line uses a hard-coded value of 0.85:

ft-SNE/tsne.py

Lines 186 to 187 in 4b5c368

mom = float(get_epsilon(initial_momentum, lrDecay, epoch)) \
if epoch < momentum_switch else 0.85

Appendix C of the paper mentions the learning rate and momentum decay but not the momentum switch, which would seem to force the momentum back up to a relatively large value for most of the optimization. Is the momentum decay useful in practice?

Size of Swiss Roll and 3 Gaussians datasets in README image

Hi, this was a very interesting paper.

Forgive me if I didn't read closely enough, but I couldn't see how many observations were in the Swiss Roll or 3 Gaussians dataset used in Figure 2 of the paper (and on the README of this repo).

Exception: Invalid sigmas. The perplexity is probably too low.

Hello, thanks for this great work!
I was trying to run it with my data (dim (2331, 41376)). However, I get this error:

kl, Perplexity 100 Iteration: 1. Perplexities in [nan, nan]. Traceback (most recent call last): File "./run.py", line 85, in <module> color=color, divtype=divtypet, datatype=datatype) File "/src/tsne.py", line 96, in tsne find_sigma(X_shared, sigma_shared, N, perplexity, sigma_iters, metric, verbose) File "/src/core.py", line 204, in find_sigma raise Exception('Invalid sigmas. The perplexity is probably too low.') Exception: Invalid sigmas. The perplexity is probably too low.

I tried to specify an higher perplexity value but didn't work.
I am also sure I don't have NaNs in my data.
Thanks a lot in advance for your help!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.