Skip to content
Advertisement

Tag: text-classification

KeyError on a certain word

I am trying to use Naive Bayes for spam-ham classification. I am getting a word error repeteadly on here: The error message is just this: ‘hafta’ is the first word of the pandas dataframe and the trainng dataset. I tried the solution on this issue that seemed similar to mine but it didn’t work out. I will appreciate any hint

I have a data type problem in the text classification problem

I want to build deep learning classifiers for Kickstarter campaign prediction. I have a problem with the part of the model but I can not solve this. My code: In this point, I am getting ValueError: Failed to find data adapter that can handle input: <class ‘scipy.sparse.csr.csr_matrix’>, (<class ‘list’> containing values of types {“<class ‘str’>”}) I try np.asarray for solving

Advertisement