Comments (3)
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.
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.
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)
- questions about dlgm_nf.py HOT 1
- Can't compute prior (local_log_prob) of a StochasticTensor inside tf.scan (in LSTM cell) HOT 11
- Clarifying the * N in log_joint? HOT 4
- Dirichlet + Categorical or Dirichlet + Multinomial toy example ? HOT 5
- Collaboration with TensorLayer HOT 5
- save and restore models? HOT 4
- I have some trouble translating a model from PyMC3 HOT 4
- 请问哪里能找到zhusuan的中文文档? HOT 4
- AttributeError: module 'progressbar' has no attribute 'DataSize' HOT 1
- Why the std of y_mean is so small? HOT 7
- Memory leaks caused by VariationalObjective HOT 2
- How to use custom Hamiltonian? HOT 5
- Eager executation HOT 2
- Get logp from SGMCMC HOT 2
- module 'tensorflow' has no attribute 'make_template' HOT 1
- The examples of ‘semi_supervised_vae’ cannot run successfully HOT 1
- cant install ZhuSuan HOT 4
- AttributeError: module 'tensorflow' has no attribute 'log'
- Examples code is out dated and doesn't work with Tensorflow 2.x HOT 2
- Posterior and parameters analysis HOT 1
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 zhusuan.