Pytorch, Machine Learning, Gradient Descent, Python, Hands On Tutorials.
1.8742430210113525 ... epoch 97, loss 0.4994412660598755 epoch 98, loss 0.4994412362575531 epoch 99, loss 0.4994412660598755 To visualize our fit, we take the learned bias and weight out of our neuron and plot the fit against the points: weight = model.weight.item() bias = model.bias.item()