title: Is there a way that I can use a column of numbers as a single instance or a single x "value" to train a neural network?
body: <p>I am trying to create a neural network that is given the y-values for a graph and I need it to predict the distance used to calculate the y-values of the graph. I have varied the distance from 1 to 900 and I have stored each set of y-values in a separate column. I have imported the file into a data frame and the first 5 values can be seen here: <a href="https://i.stack.imgur.com/8ZNWY.jpg" rel="nofollow noreferrer">First 5 values of the data frame</a>. I then stored the values in an array called 'x' which can be seen here: <a href="https://i.stack.imgur.com/ARbNl.jpg" rel="nofollow noreferrer">x array</a>. I then created a y array to store the distances from 1 to 900. When I try to split the data into a training and test set, I get the following error message: <a href="https://i.stack.imgur.com/VPnlJ.jpg" rel="nofollow noreferrer">Error</a>. How can I make it such that the training and test code associates each column with a specific distance?</p>