Coder Social home page Coder Social logo

python_strokes_gained's Introduction

python_strokes_gained

Python code aimed to perform strokes gained analysis on a round of golf. Strokes gained is the measure of how effectively a particular shot advanced the ball down the fairway.

For example, for a golfer standing in the fairway 140 yards away from the hole, it takes an average of 2.91 strokes for the ball to be holed (using PGA Tour metrics). If the golfer hits a shot to 10 ft, it would take an average of 1.626 strokes for the ball to be holed. Subtracting 1.626 from 2.91 and subtracting the stroke we took to get to that location, we can see that we gained .284 strokes with that shot. This procedure can be performed on all shots, using different standards for shots from the Tee, Fairway, Rough, Sand, and Recovery type shots.

Required for the analysis is a .csv file of a round, listing each shot. The format is: club, location, distance from hole

The software then calculates the strokes gained for each shot throughout the round and adds the round to the set of master data. Different visualization is provided in the secondary processing of the master data.

python_strokes_gained's People

Contributors

dgtaillie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.