Documentation
¶
Overview ¶
Package aggregation implements the pluggable winning-option strategies used to combine the panel's final positions.
Index ¶
- func ConfidenceWeightedVote(after map[string]*core.Answer, labels []string, weights map[string]float64) string
- func ConfidenceWeightedWeightedVote(after map[string]*core.Answer, labels []string, weights map[string]float64) string
- func MajorityVote(after map[string]*core.Answer, labels []string, weights map[string]float64) string
- func WeightedVote(after map[string]*core.Answer, labels []string, weights map[string]float64) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfidenceWeightedVote ¶
func ConfidenceWeightedVote(after map[string]*core.Answer, labels []string, weights map[string]float64) string
ConfidenceWeightedVote weights each panelist's vote by their confidence in their chosen option.
func ConfidenceWeightedWeightedVote ¶
func ConfidenceWeightedWeightedVote(after map[string]*core.Answer, labels []string, weights map[string]float64) string
ConfidenceWeightedWeightedVote combines agent weights with confidence.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.