-
Book Overview & Buying
-
Table Of Contents
scikit-learn Cookbook - Third Edition
By :
Wrapping up the chapter, you will engage in practical exercises that involve applying PCA, LDA, and t-SNE to various datasets. These hands-on activities will reinforce the understanding of when and how to use each dimensionality reduction technique to enhance model efficiency and effectiveness.
In this example, we will analyze how applying PCA before training a logistic regression model affects performance on the Iris dataset. We realize we haven’t covered Logistic Regression so this will be an exercise in pushing your boundaries!
Implementation steps:
In this example, we will use t-SNE for visualizing high-dimensional data from a more complex dataset (e.g., MNIST) while analyzing...