Skip to main content

The csa_prediction_engine library provides a suite of tools and functions for performing relevance-based predictions using the Cambridge Sports Analytics Prediction Engine API. The package is designed to facilitate single and multi-task predictions, allowing for flexible model evaluation and experimentation.

Project description

Cambridge Sports Analytics Prediction Engine

The CSA Prediction Engine is the official Python client for interacting with the Cambridge Sports Analytics (CSA) API. It enables relevance-based predictions using flexible configurations, including support for batch jobs, grid evaluations, and multi-task prediction workflows.

📦 Source code: github.com/CambridgeSportsAnalytics/csa_prediction_engine

🔍 Key Features

  • Single Task Predictions: Support for predictions with one dependent variable and one set of circumstances.
  • Multi-y Predictions: Perform predictions with multiple dependent variables and a single set of circumstances.
  • Multi-theta Predictions: Perform predictions with one dependent variable and multiple sets of circumstances.
  • Relevance-Based Grid Predictions: Generate optimal predictions by evaluating all thresholds and variable combinations.
  • Grid Singularity Predictions: Analyze grid predictions to find the singular optimal solution.
  • MaxFit Predictions: Find the best-fit model based on adjusted relevance.

🚀 Installation

Install via PyPI:

pip install csa-prediction-engine

Requires Python 3.11

📘 Documentation & Examples

For example scripts, OpenAPI specs, and quickstart usage, visit the companion repo: 👉 CSA Prediction Engine Quickstart

🤝 Contributing

We welcome feedback, feature suggestions, and bug reports. Reach out to our team 📧 support@csanalytics.io

⚖️ License

Copyright c) 2023 - 2025 Cambridge Prediction Analytics, LLC. All rights reserved.

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

csa_prediction_engine-2.4.1.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

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

csa_prediction_engine-2.4.1-py3-none-any.whl (61.7 kB view details)

Uploaded Python 3

File details

Details for the file csa_prediction_engine-2.4.1.tar.gz.

File metadata

  • Download URL: csa_prediction_engine-2.4.1.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for csa_prediction_engine-2.4.1.tar.gz
Algorithm Hash digest
SHA256 575e8b68685b2fc53db4955fc00d602b6046b5d5202df7b687c5bdb19e5e737e
MD5 7404d019a254bd96a82675d1a4ed0f24
BLAKE2b-256 591e4ca8eac2a4d5f25242c46a7fa58e8d8a174463567e4b2737bfc033972219

See more details on using hashes here.

File details

Details for the file csa_prediction_engine-2.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for csa_prediction_engine-2.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e438c856637f6f3886a44ab49fef5d61053e973ec151908be6ee81654a3c1152
MD5 9bca40c53d0c38df2df41aca19147461
BLAKE2b-256 92b552b9e81874e0bc0d33dcc4059c3a219fc052a9d43d92872afb262fd6c675

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