Giter Site home page Giter Site logo

Comments (5)

dawe avatar dawe commented on August 25, 2024

Apparently increasing the waypoints (and knn) stabilizes the results, is this expected? I'm now set to n_waypoints=adata.shape[0]//3

from palantir.

ManuSetty avatar ManuSetty commented on August 25, 2024

The waypoints are indeed randomly sampled and increasing the number of waypoints will indeed stabilize the results. Alternatively, setting the random seed using np.random.seed will ensure that waypoint samples are consistent.

from palantir.

dawe avatar dawe commented on August 25, 2024

Setting the random seed ensures results are always the same, but it doesn't grant their consistency, I may be in some local minima. I'll go with more waypoints at the cost of runtime (not much, <15m for 15k cells, <1h for ~40k cells). Thanks!

from palantir.

rahulnutron avatar rahulnutron commented on August 25, 2024

Dear Palantir team,
Thanks for the tool!
I am facing the same problem where branch probabilities are not stable. For me branch probabilities are important and ideally should be fixed in all runs for all cells using same parameters. I set the random seed, which doesn't seem to solve it. Do you recommend to increase the waypoints in this case?
Rahul

from palantir.

ManuSetty avatar ManuSetty commented on August 25, 2024

Hello - you could increase the number of waypoints as a solution. Alternatively, you can save the set of waypoints from one of the runs and use it as input if you rerun Palantir. The waypoints are stored in pr_res.waypoints and the num_waypoints parameter can be set to a set of cells rather than the number.

from palantir.

Related Issues (20)

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.