class
ScorelinePrediction
ScorelinePrediction(home_goals:int, away_goals:int, probability:float)
home_goals
int
away_goals
probability
float
ScorelinePrediction(home_goals: int, away_goals: int, probability: float)
Outcomes
Enum = [HOME_WIN, DRAW, AWAY_WIN]
Enum
An enumeration.
OutcomePrediction
OutcomePrediction(outcome:Outcomes, probability:float)
outcome
OutcomePrediction(outcome: mezzala.models.Outcomes, probability: float)
scoreline_to_outcome
scoreline_to_outcome(home_goals, away_goals)
scorelines_to_outcomes
scorelines_to_outcomes(scorelines)
scorelines
DixonColes
DixonColes(adapter, blocks=[BaseRate(), HomeAdvantage(), TeamStrength()], weight=UniformWeight(), params=None)
adapter
blocks
[BaseRate(), HomeAdvantage(), TeamStrength()]
weight
UniformWeight()
params
None
Dixon-Coles models in Python