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.
Become a member on Medium and support my work (affiliate link): https://medium.com/@charlesmalafosse/membership
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!).
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.