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.30.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ea02565a49a1e039f2fb1d350f31d7cd0ec25ce241eb2bae50b4c1647a6617b |
|
MD5 | 1e87ba502e5344879d7906a0f0bfd125 |
|
BLAKE2b-256 | bf2ee41f0df71e54ada0df915ff9d0a364e1b70456a416c4bcb17b9817940477 |
Close
Hashes for batting_order_analysis-0.0.30-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24b76af8cd09b24095ed93c2e84821c763643eaafff805e57e2e230dcef9a53b |
|
MD5 | eda3ff8b66c5db631f3ced8837065544 |
|
BLAKE2b-256 | 8324d30b70f0e067e1aeeeb1bbadfbf79005395e7a7d66f6f0a8d4b297722cd9 |