The Realm of Supervised Learning

In this chapter, we will cover the following recipes:

  • Array creation in Python
  • Data preprocessing using mean removal
  • Data scaling
  • Normalization
  • Binarization
  • One-hot encoding
  • Label encoding
  • Building a linear regressor
  • Computing regression accuracy
  • Achieving model persistence
  • Building a ridge regressor
  • Building a polynomial regressor
  • Estimating housing prices
  • Computing the relative importance of features
  • Estimating bicycle demand distribution

Get Python Machine Learning Cookbook - Second Edition 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.