Comments (4)
Hello, and thanks for your interest!
I don't really know what's happening there. All I know is that it's happening in the pre-processing stage where the standard deviations of the Gaussians are sought, to attain the requested perplexity.
You can change the perplexity with the -p
flag. I assume you've tried increasing it?
Is there anything worth mentioning about the dataset you're using? Is it large? Disconnected? Sparse?
from tsnet.
Thanks for your answer! It's much faster than I thought.
Yes, I have tried changing the perplexity with the -p flag.
The dataset is disconnected. And the range of perplexity is very very narrow, just like I can only choose exactly one value. But when I deleted the disconnected nodes, the problem has gone.
Maybe the problem is about the disconnected network?
from tsnet.
Alright, then it's probably related to how distances are set to non-connected vertices.
Right now, those distances are set to k times the largest shortest-path distance between any two connected vertices. k is set to 10 (relevant code in modules/distance_matrix.py
), which may be a bit excessive. You can try playing around with that value. I hope that helps!
I'd also gladly accept a pull request where the k parameter is exposed to the CLI.
from tsnet.
Yes, I have tried adjusting the k parameter. I also tested other disconnected datasets. I found the problem only happens when there exist nodes whose degree are zero.( In this situation, adjusting k has little effect)
I'll try to add the k to the CLI.
Thank you!
from tsnet.
Related Issues (4)
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 tsnet.