Book Image

IPython Interactive Computing and Visualization Cookbook

By : Cyrille Rossant
Book Image

IPython Interactive Computing and Visualization Cookbook

By: Cyrille Rossant

Overview of this book

Table of Contents (22 chapters)
IPython Interactive Computing and Visualization Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 8. Machine Learning

In this chapter, we will cover the following topics:

  • Getting started with scikit-learn

  • Predicting who will survive on the Titanic with logistic regression

  • Learning to recognize handwritten digits with a K-nearest neighbors classifier

  • Learning from text – Naive Bayes for Natural Language Processing

  • Using support vector machines for classification tasks

  • Using a random forest to select important features for regression

  • Reducing the dimensionality of a dataset with a Principal Component Analysis

  • Detecting hidden structures in a dataset with clustering