News for hackers. Stuff that matters.
Re:Machine Learning for Hackers Table of Contents by mwexler on Wednesday February 08, 2012 @04:58PM (#3568717)
It's Drew Conway. The guy is good, and he makes complex things very accessible. Sometimes, you need to understand the matrices behind the process, and that's great, lots and lots of books out there about the math. But sometimes you need to group up some data and you need a quick way to get it done mostly well. There aren't as many books out there to do this as there should be, and I look forward to this one.
Re:Machine Learning for Hackers Table of Contents by plessthanpt05 on Wednesday February 08, 2012 @04:10PM (#3568486)
I like (& use) R, but to say it is "for hackers" seems strange to me -- not really a "hacker" language. Seems like a bit of a marketing strategy(/gimmick) to toss that word into the title. Looks like a promising book, though i'd much prefer it be in a scripting language like Python.
Re:Machine Learning for Hackers Table of Contents by tikhonj on Wednesday February 08, 2012 @06:57PM (#3569169)
I haven't used R, but I've heard good things about it. Why isn't it for "hackers"?

If anything, it seems like a language more suited for hackers than Python for tasks involving math--it looks like it has a more integrated environment for fast iteration , particularly for generating nice plots of the data you're working with. It also seems like a language designed and optimized exactly for this sort of activity.

Re:Machine Learning for Hackers Table of Contents by programnature on Thursday February 09, 2012 @02:38AM (#3570184)
The problem with domain-specific systems like R is that, as software systems, you can't "hack" them far outside of their contraints.

Integration into other systems (like the web, or robust big-data pipelines) can't be taken for granted. Doing "standard" stuff becomes nonstandard, thus hacking can hit a wall.

Re:Machine Learning for Hackers Table of Contents by simonw on Thursday February 09, 2012 @04:11AM (#3570359)
R is open source, and there are plenty of "bridges" to talk to it from other languages (e.g. http://rpy.sourceforge.net/ )
Re:Machine Learning for Hackers Table of Contents by plessthanpt05 on Wednesday February 08, 2012 @08:23PM (#3569391)
I use R almost daily, and sure, for tasks involving math (& statistical analysis in particular) R is fantastic; however, to say "for hackers" (at least in my mind) would involve a less domain specific language -- like a scripting language (python or some such similar language) that has statistical analysis capabilities. Perhaps a matter of semantics, but in a similar vein, I imagine a book of the same title that used Octave would not be considered "for hackers" by most due to the specific/constrained functionality.

Just seems like "hacker" is such a buzz word now that it gets tacked onto a lot of stuff just to generate interest.

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.
Re:Machine Learning for Hackers Table of Contents by showerst on Wednesday February 08, 2012 @02:29PM (#3568039)
Site is bouncing up & down for me, here's the scrib'd document he links to:

http://www.scribd.com/doc/80949907/TOC-ML4Hackers

Exciting!