Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Python Data Mining Quick Start Guide

You're reading from   Python Data Mining Quick Start Guide A beginner's guide to extracting valuable insights from your data

Arrow left icon
Product type Paperback
Published in Apr 2019
Publisher Packt
ISBN-13 9781789800265
Length 188 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Nathan Greeneltch Nathan Greeneltch
Author Profile Icon Nathan Greeneltch
Nathan Greeneltch
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Data Mining and Getting Started with Python Tools FREE CHAPTER 2. Basic Terminology and Our End-to-End Example 3. Collecting, Exploring, and Visualizing Data 4. Cleaning and Readying Data for Analysis 5. Grouping and Clustering Data 6. Prediction with Regression and Classification 7. Advanced Topics - Building a Data Processing Pipeline and Deploying It 8. Other Books You May Enjoy

Scikit-learn Estimator API

One of the reasons scikit-learn is so popular is its ease of use. There are only a few, well thought-out API designs in the library and they are applied in a sweeping manner across many different methods and routines. This chapter will make use of the Estimator API. It's extremely straightforward, and, once you understand how to use it, you can try our new regression and classification estimator methods with ease, because they all work in the same way (in other words, they all make use of the Estimator API).

The steps are given as follows:

  1. Import the module
  2. Instantiate the estimator object (regression or classification model in the following diagram)
  3. Fit the model-to-map input training data (X_train in the following diagram) to the ground truth y_train labels
  4. Predict y_pred on the new test data (X_test in the following diagram)

It can also be...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image