The document outlines a Python script that performs PCA on the Iris dataset to visualize it in 2D and 1D. It standardizes the data, applies PCA, and generates scatter plots to display the results, including the explained variance ratio. The 2D PCA captures 96% of the total variance, highlighting the effectiveness of the dimensionality reduction.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
12 views3 pages
Experiment 10
The document outlines a Python script that performs PCA on the Iris dataset to visualize it in 2D and 1D. It standardizes the data, applies PCA, and generates scatter plots to display the results, including the explained variance ratio. The 2D PCA captures 96% of the total variance, highlighting the effectiveness of the dimensionality reduction.