Analysis of different batting orders given a lineup
Project description
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).
Data Source
Major TODOs
- Determine the accurate likelihoods of sacrifices and double plays for different out types
- Enable some sort of pinch hitting scheme (right now, each player hits the entire game)
- Enable some sort of pitcher dependent hitting results (even as simple as right-y/left-y; right now hitting stats are full season aggregates)
- Include edge cases like stealing, wild pitches, etc.
- More detailed data (i.e. did a double go to right or left field?)
- Player specific data (i.e. how often does a player try to steal?)
Installation
pip install batting-order-analysis
Usage
driver.py supplies a basic interface, 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.31.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04b5c3bffb485b4039a0dfe3c179b8a0d6a1bbf84f693f385a9e8ed2dd52d9d9 |
|
MD5 | 490bd16227df32c32d21bb416897e9ea |
|
BLAKE2b-256 | 657522d701d6645085f6b8319bbea5e8d067dc7c70a8040305d0930f072ccd8e |
Close
Hashes for batting_order_analysis-0.0.31-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d94c743f061493de5688aad5260e3a29632b85ccfd578ef24e360bdd87428f1 |
|
MD5 | 69d986793b1e679787ecdb67341fe88b |
|
BLAKE2b-256 | d471a90fbb7f5056a1319002118ca7f143e2cb32b90e1770d528e74015497ae8 |