How can we pass multiple numeric CSV data as an input to a convolutional neural network using Python

Viewed 19

I have 2 folders 0/ and 1/ containing each csv files. 0 for negative and 1 for positive. These csv files have this structure:

Time,Value
30,-0.3387146
30.05,-0.3387146
30.1,-0.3387146
30.15,-0.3387146
30.2,-0.3387146
30.25,-0.3387146

I would to do a binary classification with a convolutional network. My question is how can I train my CNN model on dataset from a multiple .csv files ordered in folder. I was thinking of data.flow_from_directory but it seems this is only for image format.

0 Answers
Related