Analysis of different batting orders given a lineup
Project description
Baseball Savant Custom Data
Contains all of the data used to run the simulations
Description:
Simulates every possible batting order for a given lineup and displays summary statistics of
the average runs (over a number of games) of the orders, and specific information about the
top and bottom 5 orders. The user may choose how many games each order is simulated for,
which players are in the lineup, or what each player's PA outcomes are in a single game
(see sample files).
Major TODOs:
1) Determine the accurate likelihoods of sacrifices and double plays for different out types
2) Enable some sort of pinch hitting scheme (right now, each player hits the entire game)
3) Enable some sort of pitcher dependent hitting results (even as simple as right-y/left-y;
right now hitting stats are full season aggregates)
4) Include edge cases like stealing, wild pitches, etc.
5) More detailed data (i.e. did a double go to right or left field?)
6) Player specific data (i.e. how often does a player try to steal?)
Usage:
driver.py supplies a basic front-end, read its usage there
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for batting_order_analysis-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f561c37c23daa684fc35d57a55e9dc940e290dbbd27489a8177285455f7524f0 |
|
MD5 | 810f5439428ac2d7a43707cadbee387f |
|
BLAKE2b-256 | 63b7a07d023e700f991d3fc6a068288d5ab08878453bfcf4bd98604669052202 |
Close
Hashes for batting_order_analysis-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72a7a72f88a4a9a8bc73193e81cd662d271a5f4b033ded4ef47c7b02a49ec795 |
|
MD5 | e3729d7ee19ee6b20dbb77457032c614 |
|
BLAKE2b-256 | 3aa9d29fc62f90cc837d756a9345d3607f13abcfff5aeb2786dca76d91e04bd6 |