Are there any machine learning libraries for C. Specifically interested in unsupervised learning.


closed as unclear what you're asking by Dawny33, Sean Owen Feb 8 '17 at 20:36

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ Is C++ acceptable? There are plenty of libraries for C++. $\endgroup$ – Icyblade Feb 8 '17 at 6:41
  • $\begingroup$ yeah, i am interested in knowing C++ libraries as well $\endgroup$ – Chandan Venkatesh Feb 8 '17 at 7:42
  • $\begingroup$ Why do you want a C library? $\endgroup$ – Martin Thoma Feb 8 '17 at 8:24

Here's a detailed table about different machine learning libraries on different languages:


Checkout C version here and C++ version here.

Personally speaking, try OpenCV ! OpenCV provides multiple machine learning implementations including KMeans, kNN, SVM, etc.


If you want to use SVMs: libsvm is written in C.


Not the answer you're looking for? Browse other questions tagged or ask your own question.