Search icon CANCEL
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
Machine Learning with Go Quick Start Guide

You're reading from   Machine Learning with Go Quick Start Guide Hands-on techniques for building supervised and unsupervised machine learning workflows

Arrow left icon
Product type Paperback
Published in May 2019
Publisher Packt
ISBN-13 9781838550356
Length 168 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Michael Bironneau Michael Bironneau
Author Profile Icon Michael Bironneau
Michael Bironneau
Toby Coleman Toby Coleman
Author Profile Icon Toby Coleman
Toby Coleman
Arrow right icon
View More author details
Toc

Principal component analysis

Principal component analysis (PCA) is a way to reduce the number of dimensions in a dataset. We can think of it as a way of compressing a dataset. Suppose you have 100 different variables in your dataset. It may be the case that many of these variables are correlated with each other. If this is the case, then it is possible to explain most of the variation in the data by combining variables to build a smaller set of data. PCA performs this task: it tries to find linear combinations of your input variables, and reports how much variation is explained by each combination.

PCA is a method for reducing the dimensions in a dataset: in effect, summarizing it so that you can focus on the most important features, which explain most of the variation in the dataset.

PCA can be useful for machine learning in two ways:

  • It can be a useful preprocessing step before...
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