Question 20
What will be the output of the following code:
from sklearn.feature_extraction.text import HashingVectorizercorpus = ['You can have it all. Just not all at once.', 'Train your mind to see the good in every situation.', 'What we think, we become.', 'If I got rid of my demons, I’d lose my angels.',]vectorizer = HashingVectorizer(n_features= 12,lowercase=True)X = vectorizer.fit_transform(corpus)print(X.shape[1])