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.33.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a0007b56a1639deac083eaf5652069153f015176ff96bd201aca7a60cf9b1ad |
|
MD5 | ef035431d62e76069f49b7fc0e413b1a |
|
BLAKE2b-256 | 9476b5b005bfcc2b9cc6704ec7b0bf5db0ef7761dcc44d73323182635ba51f60 |
Close
Hashes for batting_order_analysis-0.0.33-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f49921ccaa40f69554327f7c0c3adb9a7fdeadc21e8927ce990fa60ca9c8f95 |
|
MD5 | eadd5360639e5a16aeed56a592d81dbd |
|
BLAKE2b-256 | cfb16a29c6aaddcf3bdd013e88e90f32c713add4397908bc19b3f453111bbd7b |