Dimension of shape in conv1D
td; lr you need to reshape you data to have a spatial dimension for Conv1d to make sense: X = np.expand_dims(X, axis=2) # reshape (569, 30) to (569, 30, 1) # now input can be set as model.add(Conv1D(2,2,activation=’relu’,input_shape=(30, 1)) Essentially reshaping a dataset that looks like this: features .8, .1, .3 .2, .4, .6 .7, … Read more