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
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Python: Real-World Data Science

You're reading from   Python: Real-World Data Science Real-World Data Science

Arrow left icon
Product type Course
Published in Jun 2016
Publisher
ISBN-13 9781786465160
Length 1255 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (5):
Arrow left icon
Fabrizio Romano Fabrizio Romano
Author Profile Icon Fabrizio Romano
Fabrizio Romano
Phuong Vo.T.H Phuong Vo.T.H
Author Profile Icon Phuong Vo.T.H
Phuong Vo.T.H
Robert Layton Robert Layton
Author Profile Icon Robert Layton
Robert Layton
Sebastian Raschka Sebastian Raschka
Author Profile Icon Sebastian Raschka
Sebastian Raschka
Martin Czygan Martin Czygan
Author Profile Icon Martin Czygan
Martin Czygan
+1 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Table of Contents FREE CHAPTER
Python: Real-World Data Science
Meet Your Course Guide
What's so cool about Data Science?
Course Structure
Course Journey
The Course Roadmap and Timeline
1. Course Module 1: Python Fundamentals 2. Course Module 2: Data Analysis 3. Course Module 3: Data Mining 4. Course Module 4: Machine Learning Index

Chapter 5. Extracting Features with Transformers

The datasets we have used so far have been described in terms of features. In the previous chapter, we used a transaction-centric dataset. However, ultimately this was just a different format for representing feature-based data.

There are many other types of datasets, including text, images, sounds, movies, or even real objects. Most data mining algorithms, however, rely on having numerical or categorical features. This means we need a way to represent these types before we input them into the data mining algorithm.

In this chapter, we will discuss how to extract numerical and categorical features, and choose the best features when we do have them. We will discuss some common patterns and techniques for extracting features.

The key concepts introduced in this chapter include:

  • Extracting features from datasets
  • Creating new features
  • Selecting good features
  • Creating your own transformer for custom datasets

Feature extraction

Extracting features...

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