Architectures and learning algorithms for data-driven decision making