API

This is the full API documentation of the sports-betting package.

Datasets

Collection of sports betting AI tools.

sports-betting is a set of tools for sports betting. It provides python functions to download data and test the performance of machine learning models.

Subpackages

datasets
Module which provides functions to download and transform sports betting datasets.
datasets.DummySoccerDataLoader([param_grid]) Dataloader for dummy data.
datasets.FDSoccerDataLoader([param_grid]) Dataloader for Football-Data.co.uk soccer data.
datasets.FTESoccerDataLoader([param_grid]) Dataloader for FiveThirtyEight soccer data.
datasets.SoccerDataLoader([param_grid]) Dataloader for soccer data from combining all data sources.
datasets.load(path) Load the dataloader object.

Evaluation

The sportsbet.evaluation module provides the tools to evaluate the performance of machine learning models on sports betting data.

evaluation.ClassifierBettor(classifier) Bettor based on a Scikit-Learn classifier.