Preparing feeding data to 1D CNN
问题 I am getting into a similar problem with reshaping data for 1-D CNN: I am loading data (training and testing data sets ) from a csv file with 24,325 lines. Each line is a vector of 256 numbers - independent variables plus 11 numbers of expected outcome ( labels ) [0,0,0,0,1,0,0,0,0,0,0] I am using TensorFlow backend. The code looks like that: import matplotlib.pyplot as plt import pandas as pd import numpy as np #Importing training set training_set = pd.read_csv("Data30.csv") X_train =