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.0.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.0-py3-none-any.whl (61.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: csa_prediction_engine-2.4.0.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.0.tar.gz
Algorithm Hash digest
SHA256 0c5b98810efcbae05da4d3a361d46b568e8cd22827f79684bfa0eeea326ccdb7
MD5 5994472cc0f34fb482fa6a75c57ad995
BLAKE2b-256 b07a4d62747d3ede98fbb92fb41945c48bd1a305ce71fda51fb893548361f53b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for csa_prediction_engine-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf8bcdde1978ec92f7df2c0c97aa16dfd0ec860c1ccdd901288c9ab35e07a09d
MD5 4ac058b02eb008aba9fdbb6182f36f3e
BLAKE2b-256 a09bdb0e775aa13bc0a0876185455501257c46aee1851d82620352f5996ba629

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