Giter Site home page Giter Site logo

pga_tour_analysis's Introduction

PGA Tour Analysis

This project takes players statistics and PGA result data to perform an exploratory analysis and create a prediction model.

The code sheets in this repository represent the following steps:

API PULL AND DATA WRANGLING

  • Player Statistics are Imported from a kaggle dataset and formatted
  • Player Tournament Results are pulled from SportData.io API, result are given by hole
  • By hole results are transformed to create round summaries for each round played
  • Edge cases like incomplete rounds, missed tournaments, or missed cuts are identified
  • Player names are organized between dataframes through a primary key

EXPLORATORY ANALYSIS

  • Created Exploratory Charts based on the By Hole Data
  • Created Exploratory Charts based on the By Round Data
  • Calculated Average Par 3, 4, and 5 score for each player
  • Created Player Comparison Visuals based on both results (Dendrogram) and statistics (Spider Plot)

PREDICTION MODEL

  • An Attempt to predict results based on player statistics
  • Created models with the following dependent variables: Round Score (all tournaments), Tournament Score (all tournaments), Tournament Score (specific tournament)
  • Specific tournaments were predicted most accuratley using regression, how ever lack of data hurts the model

Future Steps for the Project Include:

  • Web Scraping to collect a more data from one tournament
  • Acquiring more player statistics to increase the field
  • Fitting new models to the new data

pga_tour_analysis's People

Contributors

kylearbide avatar

Stargazers

 avatar  avatar

Watchers

 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.