/NFL-data-hacking

Algorithmically draft NFL players for your fantasy league!

Primary LanguageJupyter Notebook

Hacking my way to an ideal fantasy football team

Last week, I was pressured into being the 12th member of a fantasy football league. Full disclosure, I know enough about football to enjoy a game without having to constantly look things up. I enjoy a good game of Madden, a few Panthers games, and casual watching, but I was never into football as much as my peers. I don't know enough about all the players out there to really make informed decisions about my picks for my fantasy team.

Being the data science major that I am, I decided to build my entire team algorithmically. Kaggle has a dataset on a ton of NFL statistics, and ESPN published its scoring formats for how you win at fantasy. All that was left was ranking players based on these metrics so I could be prepared for the draft.

My draft has been scheduled for next week, so I ranked the top 12 players in each field since there's 12 people in my league. I didn't account for FLEX or anything else unique to fantasy.

You can view my algorithms here

My rankings:

Top Kickers

  1. Baltimore Ravens - Tucker, Justin
  2. New England Patriots - Gostkowski, Stephen
  3. New Orleans Saints - Lutz, Wil
  4. Dallas Cowboys - Bailey, Dan
  5. Washington Redskins - Hopkins, Dustin
  6. Pittsburgh Steelers - Boswell, Chris
  7. Seattle Seahawks - Walsh, Blair
  8. Green Bay Packers - Crosby, Mason
  9. Kansas City Chiefs - Santos, Cairo
  10. Philadelphia Eagles - Sturgis, Caleb
  11. Carolina Panthers - Gano, Graham
  12. Cleveland Browns - Parkey, Cody

Top Wide Receivers

  1. New York Giants - Beckham Jr., Odell
  2. Atlanta Falcons - Jones, Julio
  3. Cincinnati Bengals - Green, AJ
  4. Tampa Bay Buccaneers - Evans, Mike
  5. Pittsburgh Steelers - Brown, Antonio
  6. New Orleans Saints - Thomas, Michael
  7. Dallas Cowboys - Bryant, Dez
  8. Denver Broncos - Thomas, Demaryius
  9. Pittsburgh Steelers - Bryant, Martavis
  10. Arizona Cardinals - Fitzgerald, Larry
  11. New York Giants - Marshall, Brandon
  12. Jacksonville Jaguars - Robinson, Allen

Top Tight Ends

  1. New England Patriots - Gronkowski, Rob
  2. Seattle Seahawks - Graham, Jimmy
  3. Los Angeles Chargers - Gates, Antonio
  4. Washington Redskins - Reed, Jordan
  5. Kansas City Chiefs - Kelce, Travis
  6. Cincinnati Bengals - Eifert, Tyler
  7. Dallas Cowboys - Witten, Jason
  8. Miami Dolphins - Thomas, Julius
  9. Carolina Panthers - Olsen, Greg
  10. Los Angeles Chargers - Henry, Hunter
  11. Washington Redskins - Davis, Vernon
  12. Philadelphia Eagles - Ertz, Zach

Top Running Backs

  1. Dallas Cowboys - Elliott, Ezekiel
  2. New Orleans Saints - Peterson, Adrian
  3. Pittsburgh Steelers - Bell, Le'Veon
  4. Chicago Bears - Howard, Jordan
  5. Tennessee Titans - Murray, DeMarco
  6. Buffalo Bills - McCoy, LeSean
  7. Oakland Raiders - Lynch, Marshawn
  8. Arizona Cardinals - Johnson, David
  9. Los Angeles Rams - Gurley, Todd
  10. Tampa Bay Buccaneers - Martin, Doug
  11. Indianapolis Colts - Gore, Frank
  12. Cincinnati Bengals - Hill, Jeremy

Top D/ST

  1. Washington Redskins - Hall, DeAngelo
  2. Tampa Bay Buccaneers - Smith, Jacquies
  3. Cleveland Browns - Boddy-Calhoun, Briean
  4. New York Giants - Jenkins, Janoris
  5. Philadelphia Eagles - Wentz, Carson
  6. Seattle Seahawks - Sherman, Richard
  7. New York Giants - Rodgers-Cromartie, Dominique
  8. Miami Dolphins - Jones, Reshad
  9. Arizona Cardinals - Peterson, Patrick
  10. Washington Redskins - Brown, Zach
  11. Arizona Cardinals - Dansby, Karlos
  12. Baltimore Ravens - Mosley, C.J.

Top Quarterbacks

  1. New Orleans Saints - Brees, Drew
  2. Atlanta Falcons - Ryan, Matt
  3. Washington Redskins - Cousins, Kirk
  4. Detroit Lions - Stafford, Matthew
  5. Pittsburgh Steelers - Roethlisberger, Ben
  6. Indianapolis Colts - Luck, Andrew
  7. Dallas Cowboys - Prescott, Dak
  8. New England Patriots - Brady, Tom
  9. Tampa Bay Buccaneers - Winston, Jameis
  10. Miami Dolphins - Tannehill, Ryan
  11. Green Bay Packers - Rodgers, Aaro
  12. Cincinnati Bengals - Dalton, Andy

Here's to a great season! Hit me with a star if you found this helpful :)