Mobile Monitoring Solutions

Close this search box.

Machine Learning with C++ – Classification with Dlib

MMS Founder

Article originally posted on Data Science Central. Visit Data Science Central

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.

Subscribe for MMS Newsletter

By signing up, you will receive updates about our latest information.

  • This field is for validation purposes and should be left unchanged.