gradient_descent
Optimize functions using gradient descent to find minima by iteratively adjusting parameters based on gradient calculations.
Instructions
Perform gradient descent optimization to find minimum of a function (Domain: numerical, Category: optimization)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"f": "<f>",
"grad_f": "<grad_f>",
"x0": "<x0>"
},
"name": "gradient_descent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| f | Yes | ||
| grad_f | Yes | ||
| x0 | Yes | ||
| learning_rate | No | ||
| max_iterations | No | ||
| tolerance | No |