HF RL Explorer

Task: Implement and Compare Gradient Descent vs Newton's Method

Task: Implement and Compare Gradient Descent vs Newton's Method: a task in Terminal-Lego-15k (Harbor dataset). Implement both standard Gradient Descent and Newton's Method optimization algorithms in Python, then demonstrate their differences on a test function. Your implementation should clearly…

The task

Implement both standard Gradient Descent and Newton's Method optimization algorithms in Python, then demonstrate their differences on a test function. Your implementation should clearly show how Newton's Method uses curvature (second derivative) information to converge faster than plain Gradient Descent.

Part of PrimeIntellect/Terminal-Lego-15k.