Suppose that I have a 1D dataset with 6 features.
Can I apply a 2D convolutional neural net to this dataset?
Artificial Intelligence Stack Exchange is a question and answer site for people interested in conceptual questions about life and challenges in a world where "cognitive" functions can be mimicked in purely digital environment. It only takes a minute to sign up.Sign up to join this community
This depends on the engine you use, but in general, yes, of course.
For example, in the TensorFlow height and width are separate variables, so nothing in your way to set one of them to 1 to have 1D data in it.
You can certainly reshape the data to make it fit a 2D network. You could set the width or height to 1 as suggested by DamirTenishev, but you could also set the features/channels to 1 and treat the features as a height, if you wanted to convolve that way (would be a bit strange).