April 2016
Beginner to intermediate
384 pages
8h 36m
English
Now that we have seen that reducing dimensions can lead to better performing classification models, let's try a couple of more methods and introduce another classification algorithm: the k-Nearest Neighbors (kNN) algorithm.
In this recipe, we will test and compare three dimensionality reduction methods: PCA (as a benchmark), fast Independent Component Analysis (ICA), and the truncated SVD method.
To execute this recipe, you will need pandas and Scikit. No other prerequisites are required.
In this recipe, we leverage the fact that everything in Python is an object (methods as well) and we can pass these around ...
Read now
Unlock full access