Collection of sports betting AI tools.

Overview

Travis Codecov CircleCI ReadTheDocs PythonVersion Pypi Conda

sports-betting

sports-betting is a collection of tools that makes it easy to create machine learning models for sports betting and evaluate their performance. It is compatible with scikit-learn.

Documentation

Installation documentation, API documentation, and examples can be found on the documentation.

Dependencies

sports-betting is tested to work under Python 3.6+. The dependencies are the following:

  • pandas(>=1.1.0)
  • rich(>=4.28)

Installation

sports-betting is currently available on the PyPi's repository and you can install it via pip:

pip install -U sports-betting

The package is released also in Anaconda Cloud platform:

conda install -c algowit sports-betting

If you prefer, you can clone it and run the setup.py file. Use the following commands to get a copy from GitHub and install all dependencies:

git clone https://github.com/AlgoWit/sports-betting.git
cd sports-betting
pip install .

Or install using pip and GitHub:

pip install -U git+https://github.com/AlgoWit/sports-betting.git

Testing

After installation, you can use pytest to run the test suite:

make test
You might also like...
The code of paper 'Learning to Aggregate and Personalize 3D Face from In-the-Wild Photo Collection'
The code of paper 'Learning to Aggregate and Personalize 3D Face from In-the-Wild Photo Collection'

Learning to Aggregate and Personalize 3D Face from In-the-Wild Photo Collection Pytorch implemetation of paper 'Learning to Aggregate and Personalize

A collection of metrics for evaluating timbre dissimilarity using the TorchMetrics API
A collection of metrics for evaluating timbre dissimilarity using the TorchMetrics API

Timbre Dissimilarity Metrics A collection of metrics for evaluating timbre dissimilarity using the TorchMetrics API Installation pip install -e . Usag

Collection of generative models, e.g. GAN, VAE in Pytorch and Tensorflow.

Generative Models Collection of generative models, e.g. GAN, VAE in Pytorch and Tensorflow. Also present here are RBM and Helmholtz Machine. Note: Gen

A collection of 100 Deep Learning images and visualizations
A collection of 100 Deep Learning images and visualizations

A collection of Deep Learning images and visualizations. The project has been developed by the AI Summer team and currently contains almost 100 images.

GNN4Traffic - This is the repository for the collection of Graph Neural Network for Traffic Forecasting
GNN4Traffic - This is the repository for the collection of Graph Neural Network for Traffic Forecasting

GNN4Traffic - This is the repository for the collection of Graph Neural Network for Traffic Forecasting

yolox_backbone is a deep-learning library and is a collection of YOLOX Backbone models.
yolox_backbone is a deep-learning library and is a collection of YOLOX Backbone models.

YOLOX-Backbone yolox-backbone is a deep-learning library and is a collection of YOLOX backbone models. Install pip install yolox-backbone Load a Pret

Collection of generative models in Pytorch version.
Collection of generative models in Pytorch version.

pytorch-generative-model-collections Original : [Tensorflow version] Pytorch implementation of various GANs. This repository was re-implemented with r

TorchDistiller - a collection of the open source pytorch code for knowledge distillation, especially for the perception tasks, including semantic segmentation, depth estimation, object detection and instance segmentation.

This project is a collection of the open source pytorch code for knowledge distillation, especially for the perception tasks, including semantic segmentation, depth estimation, object detection and instance segmentation.

A collection of SOTA Image Classification Models in PyTorch
A collection of SOTA Image Classification Models in PyTorch

A collection of SOTA Image Classification Models in PyTorch

Comments
  • FileNotFoundError: [Errno 2] No such file or directory: 'sportsbet/_version.py'

    FileNotFoundError: [Errno 2] No such file or directory: 'sportsbet/_version.py'

    FileNotFoundError: [Errno 2] No such file or directory: 'sportsbet/_version.py'

    Getting this error when trying to setup. Any ideas as to why? I don't see any _version.py in the file structure.

    opened by timforgach 2
  • DataFrame constructor not properly called.

    DataFrame constructor not properly called.

    Hi, I ran the following code:

    from sportsbet.datasets import SoccerDataLoader
    from sportsbet.evaluation import ClassifierBettor
    from sklearn.dummy import DummyClassifier
    from sklearn.model_selection import cross_val_score, TimeSeriesSplit
    
    dataloader = SoccerDataLoader(param_grid={'league': ['Spain']})
    X_train, Y_train, O_train = dataloader.extract_train_data(
        drop_na_thres=1.0, odds_type='market_maximum'
    )
    

    And I got the following error:

        X_train, Y_train, O_train = dataloader.extract_train_data(
      File "D:\anaconda3\envs\py38\lib\site-packages\sportsbet\datasets\_soccer\_data.py", line 473, in extract_train_data
        X, Y, O = super(SoccerDataLoader, self).extract_train_data(
      File "D:\anaconda3\envs\py38\lib\site-packages\sportsbet\datasets\_base.py", line 281, in extract_train_data
        self._check_param_grid()
      File "D:\anaconda3\envs\py38\lib\site-packages\sportsbet\datasets\_base.py", line 94, in _check_param_grid
        full_params_grid_df = pd.DataFrame(self.PARAMS)
      File "D:\anaconda3\envs\py38\lib\site-packages\pandas\core\frame.py", line 509, in __init__
        raise ValueError("DataFrame constructor not properly called!")
    ValueError: DataFrame constructor not properly called!
    

    my environment is

    python=3.8
    pandas = 1.4.3
    

    How should I solve this problem? Thanks.

    opened by Garand0o0 1
Owner
George Douzas
Physicist
George Douzas
Core ML tools contain supporting tools for Core ML model conversion, editing, and validation.

Core ML Tools Use coremltools to convert machine learning models from third-party libraries to the Core ML format. The Python package contains the sup

Apple 3k Jan 8, 2023
HMLLDB is a collection of LLDB commands to assist in the debugging of iOS apps.

HMLLDB is a collection of LLDB commands to assist in the debugging of iOS apps. 中文介绍 Features Non-intrusive. Your iOS project does not need to be modi

mao2020 47 Oct 22, 2022
Collection of tasks for fast prototyping, baselining, finetuning and solving problems with deep learning.

Collection of tasks for fast prototyping, baselining, finetuning and solving problems with deep learning Installation

Pytorch Lightning 1.6k Jan 8, 2023
计算机视觉中用到的注意力模块和其他即插即用模块PyTorch Implementation Collection of Attention Module and Plug&Play Module

PyTorch实现多种计算机视觉中网络设计中用到的Attention机制,还收集了一些即插即用模块。由于能力有限精力有限,可能很多模块并没有包括进来,有任何的建议或者改进,可以提交issue或者进行PR。

PJDong 599 Dec 23, 2022
Pytorch Lightning 1.2k Jan 6, 2023
A collection of resources on GAN Inversion.

This repo is a collection of resources on GAN inversion, as a supplement for our survey

null 857 Dec 29, 2022
A collection of loss functions for medical image segmentation

A collection of loss functions for medical image segmentation

Jun 3.1k Jan 3, 2023
📚 A collection of Jupyter notebooks for learning and experimenting with OpenVINO 👓

A collection of ready-to-run Python* notebooks for learning and experimenting with OpenVINO developer tools. The notebooks are meant to provide an introduction to OpenVINO basics and teach developers how to leverage our APIs for optimized deep learning inference in their applications.

OpenVINO Toolkit 840 Jan 3, 2023
BOOKSUM: A Collection of Datasets for Long-form Narrative Summarization

BOOKSUM: A Collection of Datasets for Long-form Narrative Summarization Authors: Wojciech Kryściński, Nazneen Rajani, Divyansh Agarwal, Caiming Xiong,

Salesforce 125 Dec 31, 2022
small collection of functions for neural networks

neurobiba other languages: RU small collection of functions for neural networks. very easy to use! Installation: pip install neurobiba See examples h

null 4 Aug 23, 2021