Skip to content

We present a way to incorporate bets' potential profit into a neural network classifier model using a custom loss function. We believe this to be extremely useful for anyone looking to use machine learning to create a betting system. It is what we do at BetSentiment.com.

License

Notifications You must be signed in to change notification settings

charlesmalafosse/sports-betting-customloss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Machine Learning for Sports Betting with Neural Network and custom loss function.

We present a way to incorporate bets' potential profit into a neural network classifier model using a custom loss function. We believe this to be extremely useful for anyone looking to use machine learning to create a betting system. This is what I did on BetSentiment.com.

Support me on Medium

Become a member on Medium and support my work (affiliate link): https://medium.com/@charlesmalafosse/membership

Data.

For our data we take a list of 200 games from the English Premier League, season 2018–2019, August to December 2018. It contains descriptive game data such as team names, bookmaker odds from BetFair, and our BetSentiment sentiment score (representing the percentage of positive tweets over the positive and negative tweets - 30 millions tweets analyzed so far!).

Custom loss function

We set up our custom loss function with Keras on top of TensorFlow.

For more info please check our article on medium https://medium.com/@media_73863/machine-learning-for-sports-betting-not-a-basic-classification-problem-b42ae4900782

And check https://betsentiment.com/ for Fan Sentiment Analysis and Machine Learning applied to sports betting.

About

We present a way to incorporate bets' potential profit into a neural network classifier model using a custom loss function. We believe this to be extremely useful for anyone looking to use machine learning to create a betting system. It is what we do at BetSentiment.com.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published