Comments (5)
I think you results are because we used bad data structures and you ran out of ram... but hard to say.
from multicore-tsne.
Hi, I've tested now with sklearn 0.19.1, the same parameters, as for this repo:
tsne = TSNE(n_components=2, random_state=0, n_iter = 1000, min_grad_norm=0, verbose=1000)
Still got very high running time:
[t-SNE] Iteration 1000: error = 3.1645739, gradient norm = 0.0000705 (50 iterations in 436.497s)
[t-SNE] Error after 1000 iterations: 3.164574
function took 15603291.888 ms
So it's 8730 sec for gradient descent and I assume 6873=15603-8730 has been spent on building QuadTree.
Does it sound correct?
from multicore-tsne.
Hm that seems odd. Is the number of iterations comparable to the other implementations?
from multicore-tsne.
Yes, it is the same. Can you please run https://github.com/DmitryUlyanov/Multicore-TSNE/blob/master/MulticoreTSNE/examples/test_sklearn.py on your machine?
from multicore-tsne.
And that's directly comparable with the settings in https://github.com/DmitryUlyanov/Multicore-TSNE/blob/master/MulticoreTSNE/examples/test_py_bh_tsne.py ?
If so, we need to open an issue at sklearn. Those two implementations should have the same speed from what I know. They even suggest using the sklearn implementation in their repo.
from multicore-tsne.
Related Issues (20)
- Memory Allocation Fail (Big Data)
- TSNE results in dense centred ball HOT 2
- Ruby Library
- License Clarification HOT 1
- Failed building wheel for MulticoreTSNE HOT 1
- Non-verbose crash on input containing NaN
- Error in builds using cmake >= 3.20? HOT 8
- Cannot generate Makefile. HOT 1
- Can't install on Apple M1 chip HOT 13
- Enabling verbose causes kernel crash (likely a divided by zero)
- `pip install cmake==3.18.4` worked for me.
- cmake version requirement.txt HOT 1
- signature of sklearn.datasets.make_blobs has changed
- Fix compiling HOT 5
- why can't Multicore-TSNE speed up my experiment with mnist
- linux compile
- Error in generate MING64 Makefile
- Type error with sklearn 1.2.3 HOT 1
- Static library is built but runtime is trying to load dynamic one HOT 1
- Graphics problem with tsne algorithm
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 multicore-tsne.