logoalt Hacker News

quantadev10/12/20241 replyview on HN

What you described wasn't Hill Climbing at all tho. You have to be able to take the derivative of a function to do that. The derivative is what tells you how to "go uphill" (or down)


Replies

akoboldfrying10/13/2024

You don't need a derivative to hill-climb. You only need an objective function, and a way to generate "moves" (similar, new solutions).

show 1 reply