Comments (11)
I finally went ahead and implemented this in my fork. I tried it on a simple example, but not yet on MNIST. Can you please try it out and if it works as expected I will merge to the main repo.
from fit-sne.
Here's a simple test:
from fast_tsne import fast_tsne
from sklearn import datasets
import numpy as np
import matplotlib.pyplot as plt
SEED = 37
data = datasets.load_digits()
embed_df_1 = fast_tsne(data.data, df = 1, map_dims = 1, seed = SEED)
embed_df_05 = fast_tsne(data.data, df = .05, map_dims = 1, seed = SEED)
x = np.random.rand(data.data.shape[0])
fig, axs = plt.subplots(2)
axs[0].scatter(embed_df_1,x, c=data.target)
axs[1].scatter(embed_df_05,x, c=data.target)
fig.show()
from fit-sne.
Great! I will give it a try during next week.
from fit-sne.
Sorry, was a bit overwhelmed with stuff. Hoping to try it out this week...
from fit-sne.
I have finally gave it a try. I tried embedding full MNIST in 1D with various value of df. It seems to work as expected, so I guess you can go ahead and merge into master! Great that you found time to implement it.
One thing I was surprised to see, is that I did not observe any effect until I decreased df much below .5. For 2D, df=.5 was already producing a very strong effect.
And the same but rescaled horizontally:
from fit-sne.
Another thing, is that digits don't split like they do in 2D, but rather the gaps between digits increase...
from fit-sne.
Also, didn't in 2D the embedding typically grow in size with decreasing df? Here the size decreases when df decreases below 1...
from fit-sne.
Hey, what do you think? Are you planning to merge this branch? Or do you want to investigate anything first?
from fit-sne.
Thanks for all the extensive testing, @dkobak. These are interesting differences between the 2D and 1D. I don't have an explanation for them, but I don't think it's due to a bug.
I went ahead and merged the fork.
from fit-sne.
Cool. I will add my above tests to the example Python notebook.
from fit-sne.
Added to the example notebook.
from fit-sne.
Related Issues (20)
- Passing perplexity_list in R? HOT 1
- dyld: Library not loaded: @rpath/libfftw3.3.dylib with conda FFTW HOT 4
- Confusing instructions for Windows installation HOT 1
- Always get an error about version when using this in SEURAT 3.1.5 HOT 3
- Using no AVX instructions HOT 5
- Installation error in OSX HOT 1
- Error in pip install fitsne HOT 9
- Could not run in Google Colab HOT 1
- need to require rsvd package in R wrapper HOT 3
- Is the PyPI version up to date? HOT 3
- Memory Allocation Failed - Large Datasets HOT 7
- FFT supports only 2 components
- results file (results_date_seed-.dat) is not created HOT 3
- compile fitsne error HOT 3
- Segmentation fault sometime
- Windows installation - HOT 1
- Windows executable for Version 1.2.0 not compiling HOT 5
- How to install KlugerLab / FIt-SNE for Seurat usage in Windows 10 system
- Recommended Parameters for > 3 million cells HOT 8
- Error while compiling FIt-SNE v1.1.0 or 1.0.0 solved Fedora 31 5.6.8-200 while using with Seurat 3.1 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fit-sne.