News for hackers. Stuff that matters.
Re:Machine Learning for Hackers Table of Contents by rd108 on Wednesday February 08, 2012 @02:37PM (#3568078)
This looks like it's using R to teach, primarily. I'm partial to "Collective Intelligence" (Toby Segaran's book)-- it's written with all python examples and appears to have much of the same content and approach (practical application > theoretical underpinnings).
Re:Machine Learning for Hackers Table of Contents by eric_bullington on Wednesday February 08, 2012 @02:58PM (#3568166)
I just received my copy of "Collective Intelligence" in the mail this morning, and immediately sat down and starting reading. I've been reading for the past several hours, non-stop. It's that good. Perhaps the best part is the chapter at the end of the book that neatly and concisely sums up all the major ML algorithms: neural networks, SVM, kNN, k-means, decision trees, Bayesian classifiers, etc. etc. This chapter alone is worth the price of the book. I only wish it were longer (and it's not a short book).
Re:Machine Learning for Hackers Table of Contents by levesque on Wednesday February 08, 2012 @03:26PM (#3568299)
What would you say is the level of the book? I am intrigued by your enthusiasm, but I think I'd be wasting my time if I went reading an introductory book.
Re:Machine Learning for Hackers Table of Contents by mrcapers on Wednesday February 08, 2012 @05:57PM (#3568982)
Introductory. I don't have a particularly formal background in discrete math or ML, but I was able to absorb most of the content.
Re:Machine Learning for Hackers Table of Contents by rouli on Wednesday February 08, 2012 @04:22PM (#3568539)
I'd say it's introductory, up to the chapter it discusses SVMs. Than it becomes incomprehensible, unless you have prior knowledge of SVMs and kernel methods.
Re:Machine Learning for Hackers Table of Contents by dbecker on Wednesday February 08, 2012 @03:30PM (#3568324)
You deserve a commission, Eric. I just bought "Collective Intelligence" based on your review.
Re:Machine Learning for Hackers Table of Contents by haldean on Wednesday February 08, 2012 @09:14PM (#3569503)
Ditto. Here's an Amazon link, for the lazy: http://www.amazon.com/Programming-Collective-Intelligence-Bu...
Re:Machine Learning for Hackers Table of Contents by fuzzythinker on Wednesday February 08, 2012 @04:05PM (#3568464)
As mentioned in this thread http://news.ycombinator.com/item?id=3564873, there's another new book "Machine Learning in Action" from Manning uses python instead of R: http://www.manning.com/pharrington/
Re:Machine Learning for Hackers Table of Contents by elemeno on Wednesday February 08, 2012 @03:36PM (#3568352)
If you're using Python, what are you using for your stats libraries?

R is, generally, the go to language for stats work I've found. It's certainly used a lot in the financial world for statistical modelling, and all the libraries in it are well tested which is a big plus in my book.

Re:Machine Learning for Hackers Table of Contents by pash on Wednesday February 08, 2012 @05:12PM (#3568785)
Scikits.statsmodels [1] is the main statistical and econometric library for Python. It is usually used with pandas [2], which provides nice interfaces to your data, particularly for time-series. You can also call R functions with the rpy2 bridge [3]; pandas provides a higher-level API for using rpy2, though last I checked it's not fully fleshed out yet.

Wes McKinney, the developer of pandas, writes a blog [4] that provides a good look at data analysis in Python, particularly if you're in finance.

1. http://statsmodels.sourceforge.net/

2. http://pandas.sourceforge.net/

3. http://rpy.sourceforge.net/rpy2.html

4. http://blog.wesmckinney.com/

Re:Machine Learning for Hackers Table of Contents by rd108 on Thursday February 09, 2012 @01:59AM (#3570127)
Check out enthought http://www.enthought.com for "everything and the kitchen sink". Numpy and scipy will generally have you covered, and often wrap low-level libraries written in e.g. FORTRAN and LAPACK. YMMV but I've used python exclusively in scientific computing as well as "web startup" data analysis environments. I love being able to write my data analysis and web server code in the same language. :)
Re:Machine Learning for Hackers Table of Contents by carbocation on Wednesday February 08, 2012 @04:43PM (#3568645)
I'm also partial to R, but Python does have stats support via NumPy and (especially) SciPy: http://docs.scipy.org/doc/scipy/reference/stats.html

When I was at the Broad, at least, there was heavy use of both R and Python among the statistically savvy.

Re:Machine Learning for Hackers Table of Contents by elemeno on Wednesday February 08, 2012 @05:00PM (#3568724)
Interesting - I'm not well versed on the Python stats ecosystem. It's a side effect of working in finance where every place I've worked already has large well tested libraries in C/C++/C#.
Re:Machine Learning for Hackers Table of Contents by gammarator on Wednesday February 08, 2012 @05:09PM (#3568774)
Here's a directory of stats/ML-related Python libraries: http://aliquote.org/memos/2011/02/07/python-for-statistical-...
Re:Machine Learning for Hackers Table of Contents by Radim on Thursday February 09, 2012 @07:13AM (#3570783)
Raw level: numpy

More high-level statistical functionality: scipy.stats (built on top of numpy)

Even more high-level: scikit.statsmodels (built on top of scipy)

Re:Machine Learning for Hackers Table of Contents by gammarator on Wednesday February 08, 2012 @04:33PM (#3568603)
I liked "Programming Collective Intelligence," as it fairly clearly introduces how the algorithms operate by implementing them from scratch.

I found the coding style a bit non-pythonic, though (two space indentation?), and in practice you'd be better served using one of the many ML libraries (e.g., scikit-learn [1]), which aren't introduced.

[1] http://scikit-learn.org/stable/index.html

Re:Machine Learning for Hackers Table of Contents by weaksauce on Wednesday February 08, 2012 @06:35PM (#3569105)
The two space indentation is probably to fit more code on the page without softwraps.