linear regressrion or these datasets: Do not use the same dataset as anyone else, i.e., pick randomly.
Choose a single input variable and output variable, and graph their relationship (scatter plot). The plot does not need to look “linear,” since we can find a linear regression line for any data.
Then create a single-neuron network (Linear type neuron) and train the network on the data. Also use the linear regression function of sklearn to find the actual best regression line. Then plot the network’s predictions and sklearn’s predictions on a scatter plot with the original data.
All these steps were performed in class, see the front page of Canvas for the notebook file.
The book’s ch4 and ch5 are good for this assignment.
Submit file using WebcamWebcam
Submit file using FilesFiles
Submit file using GoogleGoogle
Submit file using Office365Office365