I do not really know this world of artificial intelligence, but I have a set of data that tends to be a linear function, and one thing I needed was to find the angular coefficient of the line that fits that data.
Using linear regression, I was able to find MATLAB, but I wanted to use the neural network functions of this software to predict the values, but what it gave me was a "cloud of points" (I used the nnstart function in matlab to perform the training)
As in the image below, the first figure is linear regression and the second is what I found in the neural network
The only way to find the coefficient that the neural network tried to predict is what I did or is there some other more efficient method?