logoalt Hacker News

Building a model that visualizes strategic golf

23 pointsby scoofyyesterday at 5:15 PM7 commentsview on HN

Comments

gwerntoday at 1:05 AM

My immediate thought is that OP is reinventing dynamic programming/RL from first principles. The final visualization looks exactly like a standard value estimate heatmap. Golf is a MDP over all the physical points on the course, with stochastic probabilities of transition to each one based on golfer skill and physical randomness. Strokes are the cost to be minimized, the colors are the value estimate at each state, and his difficulties with the different maps is because a value function is defined as the expected value of being in that state assuming you will follow a particular policy thereafter (ie. be a golfer of a particular skill level, playing optimally for that skill). This lets you formalize 'strategicness' of a golf course: it is how much the value estimates differ on average across the full range of golf skills; a non-strategic course looks identical for the beginner and pro, while an incredibly strategic course might have completely different values for every point for every bracket of skill. (You could probably automate creation of pathological golf courses this way, where even a slight increase in skill makes the new strategy different.)

show 1 reply
marysminefnufyesterday at 7:03 PM

This is sick. But also i think that stuff like this is making us less human. Before tournaments good players take a book with then and their caddie and do this themself. A model takes all the fun and strategy out of it imo. Like if i suck at 7-9 irons but am good with my 4-6 irons this type of work doesnt take that into account. Also likee the optimal way to play a course isnt very fun. We play at a course where on the fourth hole we always play to the fairway to the left cause of all the trees. If a player were to use this they wouldnt have been able to come up with such a fun way to play the game

show 1 reply
WillMorrtoday at 12:51 AM

Not a golfer but I'm a big fan of the pretty plots.

lmpdevtoday at 12:22 AM

Someone get this in front of Tom Doak immediately

refulgentistoday at 2:05 AM

THIS IS THE COOLEST THING I'VE READ IN YEARS EVEN THOUGH I DON'T PLAY GOLF!

cheers