|
QDpy
|
Store all directional payoffs from a common Red versus Blue tournament. More...
Public Member Functions | |
| metrics (self, side, strategies=None, *, win_threshold=.5, clusters=4, seed=0) | |
| Score a group of strategies using the whole tournament's reference panel. | |
Store all directional payoffs from a common Red versus Blue tournament.
A read-only payoff matrix indexed by Red, Blue, and scoring side.
| qdpy.algorithms.game.GameTournament.metrics | ( | self, | |
| side, | |||
| strategies = None, | |||
| * | , | ||
| win_threshold = .5, | |||
| clusters = 4, | |||
| seed = 0 ) |
Score a group of strategies using the whole tournament's reference panel.
Use all opponents. Fit coverage clusters over all complete rows on this side. :param side: Either "red" or "blue". :param strategies: Optional indices into that side's strategies. :param win_threshold: A score must exceed this threshold to win. :param clusters: Maximum number of reference behavior clusters. :param seed: Seed for the reference clustering.