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.41.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb6f43ce516fdc6d7ff66df324571e5a500f14b3506dd87f30b1fe54979ded27 |
|
MD5 | 8471aac238b96065376ad806d1bc05b2 |
|
BLAKE2b-256 | b9be7f1fd7d1e31452b32795d114bdb7b2a72b52afcfdf1c5810c36120aedf97 |
Close
Hashes for batting_order_analysis-0.0.41-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba12bd4c216f8e55e5eec8e560a2904ff9acb9c6cd7458a41e5c38742b882cae |
|
MD5 | 45290ed2d6454f48593795577c517052 |
|
BLAKE2b-256 | dbec9a4d339dc8a73e4b7a3dec096005f974a9a44d5f8d4fd8f07956e8385d85 |