File size: 576 Bytes
c964813
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
{
  "description": "Gradient descent on x^2 from x = 1 with learning rate 0.25 halves x each iteration",
  "calls": {
    "handle_set_function": { "args": { "variables": 1, "expression": "x^2" }, "result": null },
    "handle_set_runs": { "args": { "runs": [{ "algorithm": "gradient_descent", "start": [1.0], "params": { "learning_rate": 0.25 } }] }, "result": null },
    "handle_state": {
      "args": { "iteration": 2 },
      "result": { "runs": [{ "point": { "position": [0.25], "value": 0.0625, "gradient": [0.5], "hessian": [[2.0]] }, "stopped": null }] }
    }
  }
}