I\'m trying to train a PassiveAggressiveClassifier using TfidVectorizer with partial_fit technique in the script below:
Co
As a solution I would say that using HashingVectorizer can fit your needs as you can set the number of features in the constructor.
You may prefer to use TfidfVectorizer and maybe it is more suitable for your situation. I let the answer until someone give something that use a more useful for you.
Hope there will be. Don't forget to accept the one you choose