Skip to content

ScorePredictor project, in Prolog language, for the Logic Applied to Computing class at UFPB

Notifications You must be signed in to change notification settings

gabrielbribeiroo/ScorePredictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

ScorePredictor

Data Analysis System for Sports Betting

Description

This project is a statistical analysis system for Brasileirão 2024 football matches, developed in Prolog, to assist in decision-making in sports betting, showing the probabilities of the match result.

Features

  • User interaction menu: The user informs the home and away teams and the level of absence of each one.
  • Probability of match outcome: The system returns the probabilities of the match result, based on team statistics provided by the user.

System modeling

The definition of the data set, which will be imported when starting the program, includes previous matches, information about the teams and players, and the specific data of the confrontation. Through weights assigned to the parameters, the probabilities of the duel's result are calculated.

Data manipulation

The system uses a dynamic calculation that adjusts each team's strength based on their stats and absences and for head-to-head matches between teams of similar status (famous derbies). As the code progresses, the odds are recalculated to ensure that the sum of the 3 possibilities (home win, draw, and away win) is 100%, offering a balanced and realistic prediction of the results.

Goals

This project combines sports statistics with logic programming to provide well-founded predictions for football matches. Through factors such as recent performance, absences, and history, Score Predictor becomes an effective tool for analyzing and predicting results for the 2024 Brasileirão.

Languages and Tools

gabrielbribeiroo_Prolog gabrielbribeiroo_VSCode gabrielbribeiroo_PowerShell

Instructions for use

  • Clone the repository: git clone https://github.com/gabrielbribeiroo/ScorePredictor.git
  • Interpret the project: Use a Prolog interpreter for the project files (swipl).
  • Run the program: After interpretation, load the program (consult('regras.pl').) and execute the (consultar_jogo.) function.
  • Navigate through the menu: Know the probability of the match result.

About

ScorePredictor project, in Prolog language, for the Logic Applied to Computing class at UFPB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages