machine learning in C/C++