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.39.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a390db6045c1ec582c71f81383502cb295152124cff3fe26a537151ebf2d486a |
|
MD5 | fd4d14d10dad05f650a756fa6e38b9b1 |
|
BLAKE2b-256 | 1d27f67974abd29eaa9012198d19ad2f7d74f021b72ebf8b02c57fb97b34c700 |
Close
Hashes for batting_order_analysis-0.0.39-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 816a83412d5da7c2de685e3e65c977f216ac76589f35369aba153faa8b6594f7 |
|
MD5 | 3bc1eaeac5de8d66cc3b06f8a4ddbc7f |
|
BLAKE2b-256 | 73187023635c4e45509ba362b567b78dcf9ad497727ad769f7e480a7cabefb31 |