wolfe is a framework for building rich machine learning models, based on functional programming, factor graphs, optimization and composition.