Chapter 3

Doing Machine Learning in Python

IN THIS CHAPTER

Bullet Teaching a machine to learn something

Bullet How machines learn

Bullet Understand the basics of machine learning

Bullet Using TensorFlow to do machine learning

What does it mean to learn something? One definition is “the acquisition and mastery of what is already known about something and the extended clarification of meaning of that knowledge.” Another definition is that “learning is a relatively permanent change in a person’s knowledge or behavior due to experience.”

At the current (and most likely for some time in the future) state of machine learning, it is the second definition that best fits with the current state of AI. Our culture has developed algorithms and programs that can learn things about data and about sensory input and apply that knowledge to new situations. However, our machines do not “understand” anything about what they have learned. They have just accumulated data about their inputs and have transformed that input to some kind of output.

However, even if the machine does not “understand” what it has learned, that does not ...

Get Python All-in-One For Dummies now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.