Home » Uncategorized

Machine Learning with C++ – Classification with Dlib

Dlib is an open source C++ framework containing various machine learning algorithms and many other complementary stuff which can be used for image processing, computer vision, linear algebra calculations and many other things. It has very good documentation and a lot of useful examples. In this post I will show how to use this library for solving a classification problem on Iris data set, and will cover next topics:

1. Library compilation

2. Loading data

3. Performing normalization and dimension reduction

4. Configuring cross-validation training and grid search parameters for SVM classifier

5. Creating Multilayer Perceptron for a classification task

6. Simple accuracy checking

Continue reading the article and source code here.