Why is Python so popular in machine learning?

Why is Python so popular in machine learning?

Python is like the swiss army knife of machine learning.

It is not the fastest. Scala, Julia is faster and most of the heavy lifting in Python is actually done by C or Fortran libraries backend. Neither is it the easiest to learn. R is easier for beginners. Rather, it is a general language that does a little of everything at a good enough complexity-performance tradeoff with a full suite of tools for productionizing machine learning.

Tutorials on machine learning with python

  1. dive into machine learning
  2. ŷhat | Data Science in Python

A sample process of machine learning deployment with python:

  1. Build prototypes on laptops with scikit-learn: machine learning in Python,NumPyPython Data Analysis Library in an interactive Project Jupyternotebook with python plotting - Matplotlib visualization. Examples - List of interesting notebooksmore interesting notebooksProbabilistic-Programming-and-Bayesian-Methods-for-Hackers.
  2. Train the full model on Hadoop cluster with PySpark and MLlib | Apache Spark.Example - train a recommender on spark
  3. Setup an API server with CherryPy - Minimalist Python Web Framework, build aFlask (A Python Microframework) app around the model and serve the model out as a REST api to other applications. Examples: Deploy recommender | Dockerized Data Science

Furthermore, advanced Python modules extend the capabilities:

Interactive plot extensions

Deep learning

Natural Language Processing (NLP) / text analytics / parts of speech tagging

For more data related posts, visit my quora page.

Amit Sharma

Senior Specialist Data Engineer at LTIMindtree

7y

i like python programming

Like
Reply
Rod Rivera

Boost Your AI Engineering Skills. I Show You How At aiproduct.engineer

8y

In the end, it is only a tool and popularity depends a lot on the community. Yes, it is very popular among individuals with a computer science background or working in Internet-related/tech industries. However, among social scientists, academics, statisticians and anyone who only wants to do (advanced) data analysis and nothing more, definitely R enjoys more popularity. In addition, if you are in a corporate setting and you have to use Windows, Python is not pleasant to work with, specially compared with Windows-friendly alternatives such as R.

Steven Griffiths

Founder at Absolute Collateral

8y

Riley O'Shea

To view or add a comment, sign in

More articles by Kai Xin Thia

Insights from the community

Others also viewed

Explore topics