Skip to main content

Tools for analyzing sports statistics and using machine learning to assist in betting strategies.

Project description

# Combined Bukmacherska

Combined Bukmacherska is a project that provides tools for analyzing sports statistics and using machine learning to assist in betting strategies. The package offers utilities for training machine learning models, statistical analysis, and data visualization.

Features

  • Train Machine Learning Models: A suite of classifiers, including Random Forest, Gradient Boosting, SVM, and more.
  • Statistical Analysis: Analyze team performance metrics like average goals scored/conceded.
  • Mathematical Utilities: Tools for Gamma distribution, Beta distribution, and Poisson probabilities.
  • Visualizations: Generate line, bar, and 3D plots for data analysis.

Installation

Clone the repository and install dependencies:

git clone <repository-url>
cd combined_bukmacherska
pip install -r requirements.txt


from combined_bukmacherska.train_models import train_models, predict_with_models

# Example data
X_train, X_test, y_train, y_test = ...  # Replace with your dataset
models = train_models(X_train, y_train)
predictions = predict_with_models(models, X_test)

from combined_bukmacherska.statistics import analiza_statystyczna, oblicz_statystyki_druzyny

druzyna1 = {'zdobyte': 30, 'stracone': 20}
druzyna2 = {'zdobyte': 25, 'stracone': 15}
mecze = 10

statystyki1, statystyki2 = analiza_statystyczna(druzyna1, druzyna2, mecze)

from combined_bukmacherska.visualizations import rysuj_wykresy

rysuj_wykresy(statystyki1['średnia zdobytych'], statystyki1['średnia straconych'], 
              statystyki2['średnia zdobytych'], statystyki2['średnia straconych'])



### Zawartość połączonego pliku `__init__.py`

```python
"""
__init__.py for the combined_bukmacherska project.

This package contains utilities for training machine learning models,
statistical computations, and visualizations for sports and betting analysis.

Modules:
- `train_models`: Functions to train various classifiers.
- `predict_with_models`: Utility to make predictions using trained models.
- `plot_results`: Functions to visualize predictions and statistics.
- `gamma_function`: Functions for mathematical and statistical computations.
- `analiza_statystyczna`: High-level analysis of sports team statistics.
"""

from .train_models import train_models, predict_with_models
from .visualizations import plot_results, rysuj_wykresy
from .math_utils import gamma_function, beta_function, poisson_probability
from .statistics import oblicz_statystyki_druzyny, analiza_statystyczna

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

combined_bukmacherska-0.5.1.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

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

combined_bukmacherska-0.5.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file combined_bukmacherska-0.5.1.tar.gz.

File metadata

  • Download URL: combined_bukmacherska-0.5.1.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for combined_bukmacherska-0.5.1.tar.gz
Algorithm Hash digest
SHA256 7d3f9c1c9e72310ae7db58d46de03e1f28d9c4f37e086081b5ad85c04a31ec80
MD5 dc23e7488ac5e242581e1d629826bdc8
BLAKE2b-256 59dcdb592abfebf3e7fb850c92ffb16a8cdb06b59cf1bc4285d32a1c8a932a20

See more details on using hashes here.

File details

Details for the file combined_bukmacherska-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for combined_bukmacherska-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fed2cf196c95531356405918e39c67c44c87f2ab1604b8eaeaa7ec987903fdbc
MD5 f462706fdbdde06e82a6f039b418e9ac
BLAKE2b-256 553cd6bf47526b8a0de658af9e0d84803bb554df1295b761a118b0cb09cd427d

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