2

Mastering Python Programming

Before we train a machine to learn, we need to teach it a language. Computers are very good at binary code since they were created to operate in zeros and ones. Human beings have invented a language compiler to compile a high-level language (such as Python) program into binary code so that a computer can run it. Python is a high-level language that is intuitive – it has a simplified syntax very similar to natural language. Python is widely used in solving problems using computer programming, especially in machine learning (ML).

In this chapter, we will start with a simple mathematical problem and show how Python can solve it directly and concisely. Understanding the solution will help us understand the Python basics, ...

Get Journey to Become a Google Cloud Machine Learning Engineer now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.