added training macros for boosted topologies