logoalt Hacker News

akoboldfrying10/12/20241 replyview on HN

>It's still in a class of pure "guessing" because just because something looks "correct" early on is meaningless two steps into the future.

It's true that a "good" decision now might turn out to be "bad" later, but whether it's effective in improving a solution depends on the fraction of times that happens, which is almost certainly not 50%. Hill-climbing methods like this are used everywhere in optimisation when you want a decent solution quickly and don't require optimality.

>somewhat analogous to predicting that a coin flip will land on 'heads' if it landed on heads at the last flip

I'm no statistician either, but this is not analogous at all.


Replies

quantadev10/12/2024

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)

show 1 reply