hddm-devs/kabuki — Issue #8: Implement model factory
Author: twiecki
Created: 2012-02-02 12:54:22+00:00
State: open

After kabuki.Nodes have been implemented, a new mode class could be built from the Parameters:

a = Parameter(group_loc=a_group_loc, group_scale=a_group_scale, subj=a_subj)
wfpt_node = Node(like=wfpt_like, a=a)
wfpt = Parameter(subj=wfpt_node, observed=True)

HDDM = kabuki.Model([a, wfpt])

m = HDDM(data, depends_on={...})