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 comprehensive 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

Usage Examples
Train Machine Learning Models

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'])


git clone https://github.com/your-repository/combined_bukmacherska2.git

from combined_bukmacherska2 import train_models

# Example usage
X_train, y_train = ...  # Your training data
models = train_models(X_train, y_train)

from combined_bukmacherska2 import predict_with_models

# Example usage
X_test = ...  # Your test data
predictions = predict_with_models(models, X_test)

from combined_bukmacherska2 import plot_results

# Example usage
plot_results(predictions, team1_lambda, team2_lambda, team1_avg_conceded, team2_avg_conceded)

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.9.0.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.

combined_bukmacherska-0.9.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: combined_bukmacherska-0.9.0.tar.gz
  • Upload date:
  • Size: 9.2 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.9.0.tar.gz
Algorithm Hash digest
SHA256 c5a223f8ea9032faf772267d93cb531d70ab4f13f8a6f4a1bc628d8020038ef4
MD5 a6f6b7ceee3135d35354026f8d2b2012
BLAKE2b-256 147a1d4e3ace17e6e9a74ecd3740df8de6a4cad3343dab284b9b4f1eea68b2f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for combined_bukmacherska-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d034716085cb1588b9eddf7d57bccf676f930ed8676f7874060900a4473df3db
MD5 b515a8e628b9949e1e69137915bbc4f4
BLAKE2b-256 24d5b0e214a47c10abd84130c19a1a57ae66cc5683dd3660d5440448e3db142e

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