Git Product home page Git Product logo

Comments (3)

danieldjohnson avatar danieldjohnson commented on May 20, 2024

Hmm, right now each of the renderings are produced independently, so it's a bit tricky to implement something like this. Also, the automatic visualization system has been primarily designed as a "better array repr" for debugging and prototyping (in which case you probably already know which slider values are meaningful).

Could you elaborate more on what you're trying to do?

from penzai.

femtomc avatar femtomc commented on May 20, 2024

Sure! This is not a "deal breaker" for me, in the least -- was just curious.

To provide more info:

Imagine a Pytree particle collection (a set of samples, roughly) produced by a sequential Monte Carlo algorithm written in a probabilistic programming language: the particles are a nested Pytree with array leaves -- and it contains information like "this particle was created by invoking this program with these arguments, and this was the joint log probability of the random choices under that the measure that program represents, and these are the set of random samples..."

In other words, when I return that collection to the user of the algorithm, one natural thing would be to say -- hey, I want look at this "slice" (single particle -- possibly a slider for this), and peruse various attributes over time (possibly a slider for this). But it's important to have the data "synced up" for some of the sliders (e.g. the "which particle" slider) -- because if you have the slider on e.g. index 51, and another on index 101 -- that's (what I called) an invalid interpretation (looking at attributes of particles which don't match).

Not a big deal at all if out of scope / not easy -- I can figure out an alternative strategy for the visuals I'm considering.

from penzai.

Related Issues (8)

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.