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.38.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a74bc1d42089b6f568192f3cf931c84628610759e8e8b2a1ef2a344350d33c51 |
|
MD5 | f5be67bbe5e8df4d12523eb659c9cf40 |
|
BLAKE2b-256 | 0f4a55e50ef944c2ef45bdfa2418304cbd250d1d3a3f39bb60ff385cec1a58e7 |
Close
Hashes for batting_order_analysis-0.0.38-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 407b8175d096b465e11230af6ca15823184a1f916d42515abb7336a22af9601b |
|
MD5 | f3b3b0aac8eede216c69c48db7da2b0f |
|
BLAKE2b-256 | 488a126c0a7fa559a82a2e8810693cf46b5697bece5a3421aaf6ddff8138c18c |