Text-Classification icon indicating copy to clipboard operation
Text-Classification copied to clipboard

data_train in CNN.ipynb

Open rs9899 opened this issue 6 years ago • 2 comments

Line 5 of block 6 has a variable data_train which comes out of blue.

Please see if it is the case of missing block of naming inconsistency.

Thanks R

rs9899 avatar Dec 13 '18 08:12 rs9899

What is the data format?

Thanks

pmm-511 avatar Jan 15 '19 05:01 pmm-511

"Shape of dataset (100, 2) Index(['message', 'class'], dtype='object') No. of unique classes 17"

It looks like 2 columns, text (message), and class_identifier (class) respectively. This is read into a pandas data frame. In this case it's read from an excel file/spreadsheet, but the same can be done with a csv, tsv, etc.

parcar avatar Apr 08 '19 17:04 parcar