Git Product home page Git Product logo

Comments (4)

HanKruiger avatar HanKruiger commented on May 18, 2024

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.

CherChen0 avatar CherChen0 commented on May 18, 2024

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.

HanKruiger avatar HanKruiger commented on May 18, 2024

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.

CherChen0 avatar CherChen0 commented on May 18, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.