Giter VIP home page Giter VIP logo

Comments (3)

thjashin avatar thjashin commented on May 24, 2024 1

Thanks for the details. I guess an interactive tutorial in jupyter notebook would be suitable for this and indeed we need one. Because now we are refactoring the modeling primitives for the 0.4 version. The plan for this tutorial shall come after that.

from zhusuan.

thjashin avatar thjashin commented on May 24, 2024

Thanks for the kind words! Could you be more specific on the example you request? From my understanding, it's a 4-node BN with all discrete variables. And exact inference is available after some tensor computation. What would you like the example to illustrate?

from zhusuan.

romanklis avatar romanklis commented on May 24, 2024

I though about a following use cases which would be extremely useful in practice:

(1) Utilization of a simple 6-node BN with discrete variables which would illustrate how to execute in such a setup parameter learning once we are given observations from all nodes expect one, as far as I understand it is latent variable.

Sample 1: [0, 1, 2, NaN, 0, 2]
Sample 2: [0, 0, 1, NaN, 0, 2]
Sample 2: [0, 0, 1, NaN, 0, 1]
and so on...

Once we have the network trained, i.e., we have complete joint probability distribution function, we would like to execute a range of inferences given, again, some incomplete observations.

  • Predict ? given a trained model and some observations: [2, 1, 2, 3, 0, ?]
  • Predict ? given a trained model and some missing observations: [NaN, 1, 2, 3, 0, ?]

(2) Again utilization of a simple 6-node BN with discrete variables which would illustrate how to execute in such a setup parameter learning once we are given potentially incomplete observations.

Sample 1: [NaN, 1, 2, 3, 0, 2]
Sample 2: [0, 0, 1, NaN, 0, NaN]
Sample 2: [0, 0, 1, NaN, NaN, 1]
and so on...

Once we have the network trained, i.e., we have complete joint probability distribution function, we would like to execute a range of inferences given, again, some incomplete observations.

  • Predict ? given a trained model and some observations: [2, 1, 2, 3, 0, ?]
  • Predict ? given a trained model and some missing observations: [NaN, 1, 2, 3, 0, ?]

(3) Utilization of a simple 6-node BN with discrete variables which would illustrate how to execute in such a setup parameter learning and some expert knowledge (prior adjustment for some particular node) and once we are given observations from all but this expert knowledge nodes expect one, as far as I understand it is latent variable.

  • Predict ? given a trained model and some observations and experts judgment : [2, 1, 2, 3, 0, ?]

I believe it would be very highly informative for non purely technical/academic audience.

Best regards
Roman

from zhusuan.

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.