As easy as I can make torchjs03.html (Gradient Descent)
This matches our torch03.py logic. We want the computer to find the square root of 25 by guessing.
Target: 25 | Starting Guess: 2.0 | Learning Rate: 0.003
The AI will calculate the slope of the error and "step" toward the correct answer 1000 times.
Edit the code below to change the target or the learning rate!