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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file combined_bukmacherska-0.6.0.tar.gz.
File metadata
- Download URL: combined_bukmacherska-0.6.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
174893e2a01e40af342021a8ba00ad287c9da23d59a76009f60b639876ea73d1
|
|
| MD5 |
3d2dca9c75776f112af6de4711c752e0
|
|
| BLAKE2b-256 |
3f80c8f491241f297de1dc9cd825b5c3454f8e331fc1c4cb3655e051eb278ab2
|
File details
Details for the file combined_bukmacherska-0.6.0-py3-none-any.whl.
File metadata
- Download URL: combined_bukmacherska-0.6.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3f5c8739ed71ca11e295681545257c41623434fcc2799bb738b0be6df953230
|
|
| MD5 |
692d73c68a1c0c248c7a81bc2ceea7a2
|
|
| BLAKE2b-256 |
eccafd9ced2200b1303dc6c756360c4393ad31d20bd596bd468b802603fdee7d
|