probcomp / cgpm

Library of composable generative population models which serve as the modeling and inference backend of BayesDB.
Apache License 2.0
25 stars 11 forks source link

vscgpm: make output SPs accepted a single inputs dictionary, rather than input names. #243

Open fsaad opened 6 years ago

fsaad commented 6 years ago

Therefore, every output SP will have the form

assume sim_output = mem((rowaddr, inputs) -> {...};

as opposed to the current convention

assume sim_output = mem((rowaddr, apogee_km, perigee_km) -> {...};
fsaad commented 6 years ago

Can't memoize on dicts...