Data Science, Artificial Intelligence, K Means, Audience Engagement, Python.
only the first 10 principal components, we capture over 80% of the explained variance in our original dataset. Therefore, we will go forward with the first 10 principal components as our new features. # Instantiate PCA with 10 principal components & fit to our dataset pca = PCA(n_components=10,