Closed oliverdutton closed 2 years ago
Hi, thanks for giving ForneyLab a spin. I'm not entirely sure what you're asking, as I understand it you want to avoid the use of the @RV
macro in your model definition? Because @RV
is simply a shorthand for creating variables and factors. For example:
@RV x
@RV y ~ SomeFactorNode(x)
is equivalent to
x = Variable(id=:x)
y = Variable(id=:y)
SomeFactorNode(y, x)
You can find a more extensive example in the introduction.ipynb
demo notebook.
I clearly flew straight over paragraph 2 of the introduction notebook. Sorry and thanks.
Hi, can this library encode the problem below where there are no random variables, and if it can is there any chance you'd provide an example.
i.e. what is the Julia, ForneyLab equivalent to
It'll be something like
As you can see this is missing large sections. I see that Julia is looking a bit like Theano (and tf1.x) with 'data' being a feed dict while a,b are abstract.