Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
| import graphviz as gr | |
| import pandas as pd | |
| def simulate(**kwargs): | |
| values = {} | |
| g = gr.Digraph() | |
| for k,v in kwargs.items(): | |
| parents = v.__code__.co_varnames | |
| inputs = {arg: values[arg] for arg in parents} | |
| values[k] = v(**inputs) |