Comments (8)
Hi Leland, thanks for trying out FIt-SNE! While our interpolation approach can be extended to embedding in higher dimensions (at the cost of using more interpolation points), dimensions >2 have not been implemented. In other words, the no_dims
parameter can only take 1 or 2.
You are absolutely right that this is not clear in the documentation, and in the next update to the python package I will change it to give an error if any number other than 1 or 2 are passed in. Thanks for finding this...it can be confusing to people.
from fit-sne.
I can do it for the python wrapper that I provided. Not sure about the other python interface.
from fit-sne.
Thanks @dkobak, that would be great.
@lmcinnes, just for some context, there is a Python wrapper (fast_tsne.py
) in this repository that @dkobak provided which uses the same binary as the R and MATLAB wrappers. The PyPI implementation you are using does not yet implement the most recent commits to this repo (including the preliminary results of our multithreading), as I plan to update the PyPI package once we finish the multithreading in a week or so.
from fit-sne.
from fit-sne.
Our approach is O(N), but the constant scales exponentially in embedding dimension. For 3-dimensional, there are Fast Multipole Methods that would work well here, but for even higher dimensions a different approach entirely would probably be required.
Most applications we are aware of for t-SNE are 2-dimensional, so we did not try 3-dimensional or higher...so I'm afraid I don't have any actual benchmarks I could share.
from fit-sne.
@linqiaozhi I thought, maybe it's easier to add a check to the C++ code and let it exit with an error if no_dims>2
for the FFT method. Can Barnes-Hut handle any no_dims?
from fit-sne.
from fit-sne.
@dkobak I agree, adding a check to the C++ code would be best. And yes, BH can handle any no_dims.
@lmcinnes Thanks again for letting us know about this issue!
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.