Class MatchPredictor
java.lang.Object
org.episteme.social.sports.MatchPredictor
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 Summary
Modifier and TypeMethodDescriptionstatic RealwinProbability(double homeRating, double awayRating, double homeAdvantage) Calculates the probability of a home team win using an exponential logistic regression model.
-
Method Details
-
winProbability
Calculates the probability of a home team win using an exponential logistic regression model.- Parameters:
homeRating- skill rating for the home teamawayRating- skill rating for the visiting teamhomeAdvantage- extra weight to account for home field advantage- Returns:
- probability of win (0.0 to 1.0)
-