I trained the ridge classifier with a huge amount of data ,used tfidf vecotrizer
to vectorize data and it used to work fine. But now i am facing an error
'max_df corresponds to < documents than min_df'
The data is stored in Mongodb.
I tried various option to solve it and and finally when i deleted a collection in Mongodb which had only 1 document (1 record), it worked normally and completed the training as usual.
But I need a solution which does not require deleting the record as I need that record.
Also, I am not understanding the error as it is only in my machine.The script used to work fine before in my system even while this record was present in the db.The script is working fine in other system as well.
Could someone help please?