Open anshu2308 opened 2 years ago
May be the column not in correct format that you want to fit in mnb. Means after creating vectors using TfidfVectorizer(), it returns sparse matrix, so using toarray() will convert sparse matrix into array format, that best for fitting into mnb.
Why mnb is not fitted