Re:Show HN: Fantasy Sports Solved through Dynamic Programming
by kylebrown on Thursday February 20, 2014 @12:53PM
(#7272365)
I made a python tool for doing this a couple of weeks ago. It solves the "knapsack problem with multiple constraints", using the OpenOpt knapsack module. Find the maximum sum of FPPG (fantasy points per game), with the constraints of $60k (fantasy) salary sum, and player positions.
It didn't work very well though, my generated NBA picks finished in the bottom 50% on FanDuel. For the next iteration, I'm going to try optimizing for MPG (minutes per game).
Fantasy betting has the benefit of a legal loophole, so it's growing much quicker than traditional sportsbook line betting.
Re:Show HN: Fantasy Sports Solved through Dynamic Programming
by acconrad on Thursday February 20, 2014 @01:39PM
(#7272697)
Ha, I used to work at StarStreet - Rotogrinders has a similar tool, and you can bet people have intense spreadsheets to help them make their decisions; how has this tool been performing in the NBA season?
Re:Show HN: Fantasy Sports Solved through Dynamic Programming
by kohanz on Thursday February 20, 2014 @12:54PM
(#7272377)
Congrats on launching! Nice looking site, too. Was this a scratch-your-own-itch type of project? Did you do it on the side? I'd be interested to hear where it came from and where it's headed.
Re:Show HN: Fantasy Sports Solved through Dynamic Programming
by bjpless on Thursday February 20, 2014 @12:58PM
(#7272408)
It's a side project for now. But, in theory, I'd like to continue building cool utilities for daily fantasy sports betting leagues. That market is growing quite quickly and the tech is pretty poor.
Re:Show HN: Fantasy Sports Solved through Dynamic Programming
by wtpiu on Thursday February 20, 2014 @02:07PM
(#7272868)
your optimal lineup for today has danilo as a SF, projected to get 27+ points, but he hasn't played a game all season, and is out tonight... which makes me wonder...
what data are you using to project averages? 2012-2013 season?
Re:Show HN: Fantasy Sports Solved through Dynamic Programming
by bjpless on Thursday February 20, 2014 @09:35PM
(#7275110)
I'm just using (bad) third-party projections for now with the assumption that people who want to use my tool will be bringing their own projections to the table.
Re:Show HN: Fantasy Sports Solved through Dynamic Programming
by bjpless on Thursday February 20, 2014 @12:44PM
(#7272299)
Yeah, it's something that can consume a ton of hours manually -- and, at the end of the day, there's no way to be certain that you've actually optimized given your budget constraints.
It didn't work very well though, my generated NBA picks finished in the bottom 50% on FanDuel. For the next iteration, I'm going to try optimizing for MPG (minutes per game).
Fantasy betting has the benefit of a legal loophole, so it's growing much quicker than traditional sportsbook line betting.
what data are you using to project averages? 2012-2013 season?
I also feel for Danilo...so many surgeries.