Frequently used machine learning algorithms implemented in C++