hi I want to try to classify this data from bbc news as new test data with training data form kaggle that already I the got the classification results , but when i run this code:
X = tfidf_v.fit_transform(corpus).toarray()
y = bbc ["label"]
classifier.fit(X, y)
I get a error like this:
ValueError: Found input variables with inconsistent numbers of samples: [40002, 1573]
can someone help me because I tried to transpose the X and reshaping y but it doesn't work