Comments (15)
@DmitryUlyanov, I have encountered this warning message as well. And as @dietmar said, TSNE finished normally. Could you let me know if this message actually affect the TSNE results?
Thanks!
from multicore-tsne.
I checked out an earlier version, the commit with the merge of pull request #31 and it works fine. So somewhere in between then and now this error has arisen. It is usually happens between 200-1000 iterations if that helps at all.
EDIT: Also the number of cores does not affect this bug, it still happens even with 1.
from multicore-tsne.
I will try to handle this next week.
from multicore-tsne.
It happens to me sometimes as well. When the perplexity is high enough.
from multicore-tsne.
I also see this error message (thousands of times), but the TSNE computation actually seems to finish normally nevertheless.
@asanakoy can you please elaborate? Are you saying that you can successfully avoid the error by setting the perplexity parameter appropriately?
from multicore-tsne.
Hi, fixed a bug here f5c5be1#diff-f8b3cce0b3183b4e02d913d9eb933c6eR210
Can you please do git pull and check if it solved the issue?
from multicore-tsne.
@DmitryUlyanov, thank you. I will write you back when I try the update.
from multicore-tsne.
@DmitryUlyanov I have reinstalled after doing a git pull, but I still get that message. If it helps, my matrix is very sparse [sparsity = 0.012031, Dimensions are: 2292 rows, 514 columns] and the perplexity I am using is 5.
from multicore-tsne.
Hello @DmitryUlyanov,
I'm trying to use the TSNE and I get the same error!
I have a 136500x1120 (sparsity = 0.001129) dataset and I am trying to run it this settings: using 48 cores, no_dims = 2, perplexity = 30.000000, and theta = 0.500000
TSNE builds the tree no problem, and then and a random iteration the 'No, no this should not happen' happens and never goes away.
I tested generating a random matrix of the same size and it works until the end without errors and running a subsection of my data (1000x1120) causes the same problem.
Are there any updates related to this issue?
So @Fistr @DmitryUlyanov Is this a warning or an error ? Because it manages to run to the end and do all iterations but I don't know if I should trust the data.
Thanks!
from multicore-tsne.
Adding a very small amount of noise to the data seems to solve the issue.
Maybe it's just related to the amount of zeros in the dataset.
from multicore-tsne.
@DmitryUlyanov, f5c5be1#diff-f8b3cce0b3183b4e02d913d9eb933c6eR210 didn't fix it.
I believe the problem is in numerical instability when the point is being checked to lie in the bounds of the child splittree.cpp#L149- > splittree.cpp#L110.
from multicore-tsne.
Hi @DmitryUlyanov Just encountered this issue as well. Adding noise, as suggested by @AlexandreLaborde mat_noisy = mat + np.random.normal(loc=0,scale=0.001)
didn't help in my case.
from multicore-tsne.
Hi @jayant91089, I just want to let you know that I added the noise exactly in the same way and with the same scale.
My dataset has a lot of padding made by adding zeros, do you have a lot of zeros as well?
from multicore-tsne.
Can confirm, happens to me too. If this is actually irrelevant, an option to suppress warnings instead of printing them would be nice.
from multicore-tsne.
I get same warning when cloned from latest master, when use 'MulticoreTSNE' on default settings:
tsne = MulticoreTSNE(n_jobs=multiprocessing.cpu_count(), random_state=0)
Xpr = tsne.fit_transform(X)
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.