Classify Kaggle Consumer Finance Complaints into 11 classes. Build the model with CNN (Convolutional Neural Network) and Word Embeddings on Tensorflow.
I am very new to this whole subject. I created a small csv with 25 entries and wanted to run the program with it. Somehow i am failing.
I attached my datafile, so you maybe can have a look onto it and tell me what i am doing wrong.
The first error that occurs to me is:
Traceback (most recent call last):
File "train.py", line 136, in
train_cnn()
File "train.py", line 24, in train_cnn
max_document_length = max([len(x.split(' ')) for x in x_raw])
ValueError: max() arg is an empty sequence
I am very new to this whole subject. I created a small csv with 25 entries and wanted to run the program with it. Somehow i am failing.
I attached my datafile, so you maybe can have a look onto it and tell me what i am doing wrong.
The first error that occurs to me is:
Traceback (most recent call last): File "train.py", line 136, in
train_cnn()
File "train.py", line 24, in train_cnn
max_document_length = max([len(x.split(' ')) for x in x_raw])
ValueError: max() arg is an empty sequence
consumer_complaints1.csv.zip
Thank you very much.