Comments (1)
Solution: find first occurrence of marginal[:x_1]
and print the next 42 characters to show the message indices.
Full code:
# Find index of marginal in algorithm string
ix = findfirst("marginals[:x_1]", algo)
# Print line at index
println(algo[ix[1]:ix[end]+42])
from bmlip.
Related Issues (20)
- please check if generating pdf files works HOT 9
- Point lecture notes links of 2021-22 landing page to correct versions. HOT 1
- move AIF agent code example from ForneyLab to reactiveMP
- extend coin toss code example with evidence
- update model performance for maximum likelihood proof (in BML lesson)
- 5SSD0 landing page for 2021-22 disappeared HOT 2
- Factor graph Lesson still contains ForneyLab code HOT 1
- Update Project.toml HOT 4
- Refactor code example in Gaussian lesson
- Code in latent variable models doesnt run HOT 1
- Make KL divergence visualization HOT 2
- review Code Example: Bayesian evolution for the coin toss
- On the BMLIP landing page, links to pdf bundlers need to be updated
- Check the BMLIP landing page HOT 2
- Remove `ipad-notes`? HOT 2
- log p(D|m) should be negative
- pdf generation for exercises fail HOT 1
- phantomjs.exe appears both in root folder and ./bundler folder HOT 3
- IDEA: add more Julia code in the lecture notes
- Add markdown cells to animation notebooks with link
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 bmlip.