Skip to main content

No project description provided

Project description

Calibration Scores Module

Overview

This module is a work in progress method to assign a score to each sensor used at PBR events. The program takes input data from one event and compares each player's metrics to those that they achieved at past events. Each calibration is assigned a score from 0-1, with 1 being the most accurate score and 0 being completely inaccurate. Currently, the module supports scores for trackman pitching data and scores the calibrations based on extension, release height, and release width (relside). Further support will be added for blast data and swift 60 yard dash times.

Environment

This folder was set up in the poetry virtual environment. Poetry allows for dependencies to be added easily, with the command poetry add DEPENDENCY.

Dependencies

  • Python "^3.9"
  • numpy = "^1.25.1"
  • pandas = "^2.0.3"
  • matplotlib = "^3.7.2"

Data Gathering

To run these programs on your local machine with up to date data, you may query for in in AWS Athena. For instructions on gathering data and what queries to run, follow the below links to the notebook folder in this repository. (Add links here once files are pushed to repo)

Usage

This package will be integrated into the UI for event coordinators. After an event finishes, the coordinator will be able to see this information on their device and choose whether or not to send the event data in with or without a flag.

All functions currently supported have their uses demonstrated in the calibration_scores_example.ipynb file located in the notebooks folder of this repository. Feel free to modify or add commands as you see fit for your workflow.

Contributing

Contributions to this package are encouraged as it is not a finished product. Feel free to suggest changes to the code or testing files. Make sure to include a clear description of your changes in your pull request. Aditionally, for code to be pushed, it is required that one reviewer approves your changes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

calibration_scores-0.1.4.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

calibration_scores-0.1.4-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file calibration_scores-0.1.4.tar.gz.

File metadata

  • Download URL: calibration_scores-0.1.4.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.9.17 Linux/5.15.0-1041-azure

File hashes

Hashes for calibration_scores-0.1.4.tar.gz
Algorithm Hash digest
SHA256 938b6d2d899ee9da2c5c86f0c439249407b1122925fffe9995cbab2b96252cef
MD5 558264ab0b0d0629d2c23f1731162d5c
BLAKE2b-256 dacd8ba6f7f67256052ca9d4e860e22eda4ebb53673b00ce98a974d7d7ed64be

See more details on using hashes here.

File details

Details for the file calibration_scores-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: calibration_scores-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.9.17 Linux/5.15.0-1041-azure

File hashes

Hashes for calibration_scores-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6351d9359da9fd3e713e86fe246eb375ae4ff29bf83e67c130f2383331671bb6
MD5 9508c55fe11f23e212140a9d6382cba4
BLAKE2b-256 0c5d92eb961a428613f755dfcbe349776b02c10f96b8a618ffd9c2bdc7d763fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page