Python scripts that are equivalent with R scripts in Machine Learning For Hackers.