GithubHelp home page GithubHelp logo

nkoenig06 / baseballsavantpitchprofiler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jmaschino56/baseballsavantpitchprofiler

0.0 1.0 0.0 9.59 MB

Provides an in-depth view at a pitcher's arsenal

Python 100.00%

baseballsavantpitchprofiler's Introduction

Baseball Savant Pitch Profiler (Renamed from ArsenalReport)

Provides a report that breaks down each pitch thrown by a pitcher. It uses python libraries: MatPlotLib, Pandas, PyBaseball, Math, and Python-Docx to deliever reports. Inputs: First Name, Last Name, Date 1, Date 2 Outputs:

• Pitch Type - FF: Four-Seam Fastball, FT: Two-Seam Fastball, SI: Sinkker, FC: Cutter, FS: Splitter, SL: Slider, CU: Curveball, KC: Knuckle-curve, CH: Changeup, FO: Forkball, SC: Screwball, KN: Knuckleball, EP: Eephus

• % Thrown - Frequency % of Pitch

• Velocity - recorded in miles per hour at release.

• Spin Rate - recorded in revolutions per minute at release.

• Horizontal Break - horizontal movement, in inches, of the pitch between the release point and home plate, as compared to a theoretical pitch thrown at the same speed with no spin-induced movement. Calculated by Alan Nathan's Statcast conversions and then flipped upon the X axis as to give a pitcher's view.

• Vertical Break - vertical movement, in inches, of the pitch between the release point and home plate, as compared to a theoretical pitch thrown at the same speed with no spin-induced movement. Calculated by Alan Nathan's Statcast conversions.

Horizontal and Vertical Movement explained well by Simple Sabermetrics: https://www.youtube.com/watch?v=ejCb-2wyAts&list=PLmtSuNbgQJKAMV6If2XRrC-HjqVO4Spn-&index=3

• Tilt - Spin axis converted into clock time. As a rule of thumb, the ball will break in the direction of the number on the clock face. For Example: 6:00 is perfect top spin (classic “12 - 6” curveball), causing the ball to break down. 12:00 is perfect back spin (Four seam fastball, with no left-right movement), causing the ball to break upward relative to how it would have moved due to gravity alone – cutters are around 11:00 and sinkers are around 2:00 for a RHP, while cutters are around 1:00 and sinkers around 10:00 for a LHP. 3:00 is a “Frisbee” spinning and breaking to the right, while 9:00 is a “Frisbee” spinning and breaking to the left. Generated using Alan Nathan's Statcast conversions. Definition from Trackman's Glossary. Simple Sabermetrics video explaining it here: https://www.youtube.com/watch?v=6OQV9jOagOg&list=PLmtSuNbgQJKAMV6If2XRrC-HjqVO4Spn-&index=2

• Spin Eff. (Spin Efficiency) - the percentage of spin that is lined up with the axis of the ball. Generated using Alan Nathan's Statcast conversions. Definition provided by Driveline.

• Wiff Rate - measures swing and miss rate compared to total swings based on pitch type. EX: (FF Swings and Misses)/(Total # of Swings and misses from FF) * 100.

• Weak% - Weak contact % on batted balls.

• Topped% - Topped Ball % on batted balls.

• Under% - Under the ball % on batted balls.

• Burner% - Burner and flare % on batted balls. Shorted from Flare/Burner% to fit in table.

• Solid% - Solid contact % on batted balls.

• Barrel% - Barreled ball % on batted balls.

• HardHit% - % of batted balls with an exit velocity of 95 mph or greater.

Weak% to Barrel% can be found at https://baseballsavant.mlb.com/csv-docs under 'launch speed angle'

baseballsavantpitchprofiler's People

Contributors

jmaschino56 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.