Machine learning the complete guide

There is a nice wiki book composed out of wikipedia pages about machine learning
Machine Learning – the Complete Guide
the only issue with it is that you can’t download it as PDF
so alternative is to just go and download all the articles one by one
here is how to quickly do it
1. go to page open console type

$("#mw-content-text a").slice(14).map(function(i,v){return console.log(v.href);});

2. now copy paste all those links and save to file

3. run this to remove quotes from links

sed 's/\"//g' file > unquoted_links_file

4. now wget it

wget -E -H -k -K -p -i unquoted_links_file

5. profit!