hddm-devs/kabuki — Issue #6: Model description via kabuki.Nodes
Author: twiecki
Created: 2012-02-02 12:42:43+00:00
State: open

Instead of overloading methods a kabuki model should be able to get instantiated as follows:

beta_group_loc = kabuki.Node(pm.Uniform, a=-5, b=5)
beta_group_scale = kabuki.Node(pm.Gamma, alpha=1, beta=1)
beta_subj = kabuki.Node(pm.Normal)

beta = kabuki.Parameter(group_loc=beta_group_loc, group_scale=beta_group_scale, subj=beta_subj)

...

For this we need a new Node (or Knode, kNode?) that stores the kwargs argument.