10 Replies - 8119 Views - Last Post: 12 February 2014 - 05:29 PM

#1 LivingNightmare  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 21
  • View blog
  • Posts: 129
  • Joined: 07-July 10

C++ Machine Learning Lib

Posted 08 August 2012 - 08:51 AM

Can anyone recommend a good machine learning library in C++? The only real requirement I need it to have, is that it must support unsupervised clustering on n-dimensional data, using a user-defined comparison metric. If anyone has every used a good machine learning lib in C++, I would love to hear recommendations.

Let me know,

L.N
Is This A Good Question/Topic? 1
  • +

Replies To: C++ Machine Learning Lib

#2 Skydiver  Icon User is online

  • Code herder
  • member icon

Reputation: 3461
  • View blog
  • Posts: 10,669
  • Joined: 05-May 12

Re: C++ Machine Learning Lib

Posted 09 August 2012 - 11:33 AM

Any particular reason why it has to be in C++? I've heard that LISP is the language of choice for most AI research.
Was This Post Helpful? 0
  • +
  • -

#3 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 8937
  • View blog
  • Posts: 33,463
  • Joined: 12-June 08

Re: C++ Machine Learning Lib

Posted 09 August 2012 - 11:34 AM

Not really skydiver.. I've done plenty in c++, java, and event some C#.
Was This Post Helpful? 0
  • +
  • -

#4 Skydiver  Icon User is online

  • Code herder
  • member icon

Reputation: 3461
  • View blog
  • Posts: 10,669
  • Joined: 05-May 12

Re: C++ Machine Learning Lib

Posted 09 August 2012 - 11:40 AM

I guess my age is showing. :lol:

Most of the C++ AI I've seen has either been purpose built for SPAM detection or game logic.
Was This Post Helpful? 0
  • +
  • -

#5 LivingNightmare  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 21
  • View blog
  • Posts: 129
  • Joined: 07-July 10

Re: C++ Machine Learning Lib

Posted 09 August 2012 - 02:39 PM

It's because the existing code base I have for the project is in C++, and that's the language I feel most comfortable with. Although I've already done a good chunk of coding in C++, what I wrote is mostly for pre-processing things, so I do have a little flexibility.

Basically, the goal of this project is to try and cluster webpages based on a topic-scheme,
and then partition these centroids on different nodes in order to improve search engine queries. Instead of having the entire cluster of nodes light up in order to perform a search, if we can determine the possible topics of the user's query, then only a few nodes would be required to light up :) - It's for a URA project I'm doing with one of the profs at my University. Since my original post, I have also come across this in Java: http://mallet.cs.umass.edu/topics.php, which seems pretty solid. The only problem is, this looks more of a supervised method, because I need to specify the number of topics (which I do not know ahead of time), along with a few other parameters.

So I guess the actual clustering can be in any language, especially if it will work well for what I need it for (which is the unsupervised clustering/topic-seperation part).

This post has been edited by LivingNightmare: 09 August 2012 - 02:43 PM

Was This Post Helpful? 0
  • +
  • -

#6 mtall  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 23-January 14

Re: C++ Machine Learning Lib

Posted 23 January 2014 - 04:15 AM

View PostLivingNightmare, on 08 August 2012 - 08:51 AM, said:

Can anyone recommend a good machine learning library in C++?


Try the MLPACK C++ library, which is a fast machine learning library, built on top of the Armadillo linear algebra library.
Was This Post Helpful? 0
  • +
  • -

#7 tarmizi_adam2005  Icon User is offline

  • جوروترا

Reputation: 224
  • View blog
  • Posts: 801
  • Joined: 18-April 09

Re: C++ Machine Learning Lib

Posted 23 January 2014 - 06:57 AM

View PostLivingNightmare, on 10 August 2012 - 05:39 AM, said:

So I guess the actual clustering can be in any language, especially if it will work well for what I need it for (which is the unsupervised clustering/topic-seperation part).


Hi

Have you tried WEKA ? one of my research collogue is using it for her PhD on pattern recognition (Speech recognition). However I think it is in java if I'm not mistaken.

Several others I would suggest for you to have a look at are OpenCV and Lush developed by Intel and Yann LeCun and Leon Bottou respectively. However these two libraries are focused on Image/video processing but have machine learning routines in them. These are written in C/C++.
Was This Post Helpful? 0
  • +
  • -

#8 snoopy11  Icon User is offline

  • Engineering ● Software
  • member icon

Reputation: 762
  • View blog
  • Posts: 2,218
  • Joined: 20-March 10

Re: C++ Machine Learning Lib

Posted 12 February 2014 - 03:07 PM

I am actually building one from a C# book I am translating into C++,

I will tell you when I am finished.

If I ever get finished, I feel another six part tutorial coming on, who knows it may stretch to twelve. :D

Working on the Matrix math lib at the moment, nearly finished that.

Regards

Snoopy.
Was This Post Helpful? 0
  • +
  • -

#9 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 8937
  • View blog
  • Posts: 33,463
  • Joined: 12-June 08

Re: C++ Machine Learning Lib

Posted 12 February 2014 - 03:13 PM

Let everyone realize the OP was from 2012.
Was This Post Helpful? 0
  • +
  • -

#10 snoopy11  Icon User is offline

  • Engineering ● Software
  • member icon

Reputation: 762
  • View blog
  • Posts: 2,218
  • Joined: 20-March 10

Re: C++ Machine Learning Lib

Posted 12 February 2014 - 03:59 PM

View Postmodi123_1, on 12 February 2014 - 10:13 PM, said:

Let everyone realize the OP was from 2012.

Oh Im away to bed...... I give up. ha ha
Was This Post Helpful? 0
  • +
  • -

#11 tarmizi_adam2005  Icon User is offline

  • جوروترا

Reputation: 224
  • View blog
  • Posts: 801
  • Joined: 18-April 09

Re: C++ Machine Learning Lib

Posted 12 February 2014 - 05:29 PM

View Postmodi123_1, on 13 February 2014 - 06:13 AM, said:

Let everyone realize the OP was from 2012.



I was also tricked by that actually :P hahaha
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1