Live data from Hacker News

Machine Learning Library for C++

image.diku.dk

1–10 of 52 posts

Re: Machine Learning Library for C++

#5
post #2

The library supports some very useful algorithms. Both supervised and unsupervised ones. But I can't use it for our commercial non GPL projects.

If LGPL works for you, you may want to look into http://www.mlpack.org/

I'm not really sure how they compare since I haven't really used either library, but there does seem to be some overlap.

Re: Machine Learning Library for C++

#6
post #4

Does anyone know if there's a good ML library written in C# or F#

libsvm and liblinear are nice libraries for training SVM and linear classifiers. There seem to be two ports of liblinear for C# (I haven't tried them):

http://www.csie.ntu.edu.tw/~cjlin/libsvm/

Re: Machine Learning Library for C++

#7

This looks awesome. I've been itching to try out some ideas I have after having gone through Bishop's book, but I've been hesitant to write the algorithms from scratch. Now I'll have to decide between learning matlab or a library such as this.

Speaking as a PhD student in machine learning-

Implement the algorithm yourself, first, in Python+Numpy. The only reason I feel comfortable with Gaussian Processes and SVMs is due to writing code to solve them manually.

Once you're happy with the basics, and can test your ideas with code you intimately understand, optimise for speed by using a library like this.

Re: Machine Learning Library for C++

#8
post #7

This looks awesome. I've been itching to try out some ideas I have after having gone through Bishop's book, but I've been hesitant to write the algorithms from scratch. Now I'll have to decide between learning matlab or a library such as this.

Speaking as a PhD student in machine learning- Implement the algorithm yourself, first, in Python+Numpy. The only reason I feel comfortable with Gaussian Processes and SVMs is due to writing code to solve them manually. Once you're happy with the basics, and can test your ideas with code you intimately understand, optimise for speed by using a library like this.

Implementing the SVM from scratch was time consuming - no?

Re: Machine Learning Library for C++

#9
post #7

This looks awesome. I've been itching to try out some ideas I have after having gone through Bishop's book, but I've been hesitant to write the algorithms from scratch. Now I'll have to decide between learning matlab or a library such as this.

Speaking as a PhD student in machine learning- Implement the algorithm yourself, first, in Python+Numpy. The only reason I feel comfortable with Gaussian Processes and SVMs is due to writing code to solve them manually. Once you're happy with the basics, and can test your ideas with code you intimately understand, optimise for speed by using a library like this.

I do agree with you regardless, just curious

Re: Machine Learning Library for C++

#10
post #4

Does anyone know if there's a good ML library written in C# or F#

I don't know of any written in F#...maybe I'll have to write one :)

You might also ask on the fsharp-opensource mailing list, maybe someone has an F# ML library I don't know about:

https://groups.google.com/forum/?fromgroups#!forum/fsharp-op...

Post reply on HN