Machine Learning code examples in CPP