All Projects → gregstoll → baseballstats

gregstoll / baseballstats

Licence: Apache-2.0 license
Baseball win expectancy and expected runs per inning calculators

Programming Languages

rust
11053 projects
python
139335 projects - #7 most used programming language
HTML
75241 projects
typescript
32286 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language
PHP
23972 projects - #3 most used programming language

Labels

Projects that are alternatives of or similar to baseballstats

pybbda
Python Baseball Data and Analysis
Stars: ✭ 21 (-8.7%)
Mutual labels:  baseball
sports.py
A simple Python package to gather live sports scores
Stars: ✭ 51 (+121.74%)
Mutual labels:  baseball
Deep-Neural-Networks-for-Baseball
A repository to follow along with Andrew Trask's "Grokking Deep Learning" by modelling baseball statistics using various architectures of neural networks built from scratch.
Stars: ✭ 15 (-34.78%)
Mutual labels:  baseball
baseball-pi
Get the live box score, plays, and batter stats of your favorite MLB team right on your desktop.
Stars: ✭ 13 (-43.48%)
Mutual labels:  baseball
boxball
Prebuilt Docker images with Retrosheet's complete baseball history data for many analytical frameworks. Includes Postgres, cstore_fdw, MySQL, SQLite, Clickhouse, Drill, Parquet, and CSV.
Stars: ✭ 79 (+243.48%)
Mutual labels:  baseball
scrapeOP
A python package for scraping oddsportal.com
Stars: ✭ 99 (+330.43%)
Mutual labels:  baseball
MLB-Menu
Status Bar menu for MLB games
Stars: ✭ 48 (+108.7%)
Mutual labels:  baseball
mlbgameday
Multi-core processing of 'Gameday' data from Major League Baseball Advanced Media. Additional tools to parallelize large data sets and write them to a database.
Stars: ✭ 37 (+60.87%)
Mutual labels:  baseball
GeomMLBStadiums
Geoms to draw MLB stadiums in ggplot2
Stars: ✭ 44 (+91.3%)
Mutual labels:  baseball
batter-pitcher-2vec
A model for learning distributed representations of MLB players.
Stars: ✭ 75 (+226.09%)
Mutual labels:  baseball
retrosheet
Project to parse retrosheet baseball data in python
Stars: ✭ 19 (-17.39%)
Mutual labels:  baseball
ballpark-tracker
A simple application used for tracking which MLB and AAA stadiums a "Ballpark Chaser" has been to.
Stars: ✭ 15 (-34.78%)
Mutual labels:  baseball

baseballstats

Baseball win expectancy and expected runs per inning calculators

This is the source for the win expectancy calculator and expected runs in an inning calculator.

The main scripts are main.rs (in Rust) and parseretrosheet.py (in Python), both of which parse play-by-play files in the Retrosheet format. The scripts are designed to work identically; presumably the Rust version will run faster. To run the script you should download the files from Retrosheet and put them in a data directory.

Other interesting files:

See the HOWTO file for how to update everything after adding more data.

This article talks about the process of porting the script from Python to Rust.

The information used here was obtained free of charge from and is copyrighted by Retrosheet. Interested parties may contact Retrosheet at 20 Sunset Rd., Newark, DE 19711.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].