Subscribe to DSC Newsletter

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.

Views: 712

Tags: C++, classification, cross validation, grid search, machine learning, neural network, perceptron, svm

Comment

You need to be a member of Data Science Central to add comments!

Join Data Science Central

Videos

  • Add Videos
  • View All

© 2019   Data Science Central ®   Powered by

Badges  |  Report an Issue  |  Privacy Policy  |  Terms of Service