Class MatchPredictor

java.lang.Object
org.episteme.social.sports.MatchPredictor

public final class MatchPredictor extends Object
Predicts the statistical outcome and probability of winning for sports events.
Since:
1.0
Version:
1.1
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Details

    • winProbability

      public static Real winProbability(double homeRating, double awayRating, double homeAdvantage)
      Calculates the probability of a home team win using an exponential logistic regression model.
      Parameters:
      homeRating - skill rating for the home team
      awayRating - skill rating for the visiting team
      homeAdvantage - extra weight to account for home field advantage
      Returns:
      probability of win (0.0 to 1.0)