Hi dear friends. I have a dataset for text classification. This dataset is divided into two folders of train and test. Them, each of them is divided into two folders of negative and positive. And, in every positive and negative folders I have 1000 text file in which you can see a sentence.
And, also next to these, I have a notepad file, in which there are 56050 words with their vectors. I think it’s called dictionary.
Now, I should just classify them. I didn’t worked on this topic at all. I uploaded my dataset on google drive and uploaded it in google colab.
from google.colab import drive
drive.mount(’/content/drive’)
train_data=’/content/drive/MyDrive/data/train’
test_data=’/content/drive/MyDrive/data/test/’
print(f’Number of training examples: {len(train_data)}’)
print(f’Number of testing examples: {len(test_data)}’)
now, when i run this code, it gives me 33 for length. Why does it happen? What is wrong in my proedure. Please help me.
thank you