Paks' code includes some performance improvements in Decision Trees, using Maps; include these in the code. https://github.com/paks/Machine-Learning-In-Action/network