Question: Using the following vectorizer: vectorizer = Tfidfvectorizer ( max _ features = 2 0 , stop _ words = 'english' ) , fit - transform

Using the following vectorizer:
vectorizer = Tfidfvectorizer(max_features=20, stop_words='english'),
fit-transform it to the comments column. Then use PCA (with 10 components and a random_state of 1) to determine the percentage of the variance that the first two principal components explain.
25%
22%
17%
34%
Using the following vectorizer: vectorizer =

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!