VoteKit
VoteKit Tutorial:
Getting started with VoteKit
Real and Simulated Profiles
Visualizing Ballots
Elections
Score-based Voting
Portland Case Study
Social Choice Reference
General Vocabulary
Preference Intervals
Simplices in Social Choice
Ballot Generators
Elections
Distances between PreferenceProfiles
Package Information
Reporting Issues or Feature Requests
Contributing to VoteKit
Related Resources
API Reference
VoteKit
Index
Index
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
L
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
V
|
W
|
Z
A
add_missing_cands() (in module votekit.utils)
add_null_keys() (in module votekit.plots.bar_plot)
Alaska (class in votekit.elections.election_types.ranking.alaska)
allow_partial (votekit.graphs.ballot_graph.BallotGraph attribute)
alpha (votekit.ballot_generator.BallotSimplex attribute)
(votekit.ballot_generator.ImpartialAnonymousCulture attribute)
(votekit.ballot_generator.ImpartialCulture attribute)
AlternatingCrossover (class in votekit.ballot_generator)
Approval (class in votekit.elections.election_types.approval.approval)
B
Ballot (class in votekit.ballot)
ballot_length (votekit.ballot_generator.name_PlackettLuce attribute)
(votekit.ballot_generator.short_name_PlackettLuce attribute)
ballot_lengths() (in module votekit.utils)
ballot_list (votekit.elections.election_types.ranking.plurality_veto.PluralityVeto attribute)
ballot_pool_to_profile() (votekit.ballot_generator.BallotGenerator static method)
BallotGenerator (class in votekit.ballot_generator)
BallotGraph (class in votekit.graphs.ballot_graph)
ballots (votekit.pref_profile.PreferenceProfile property)
ballots_by_first_cand() (in module votekit.utils)
BallotSimplex (class in votekit.ballot_generator)
bar_plot() (in module votekit.plots.bar_plot)
bloc_to_historical (votekit.ballot_generator.CambridgeSampler attribute)
bloc_voter_prop (votekit.ballot_generator.AlternatingCrossover attribute)
(votekit.ballot_generator.CambridgeSampler attribute)
(votekit.ballot_generator.name_BradleyTerry attribute)
(votekit.ballot_generator.name_Cumulative attribute)
(votekit.ballot_generator.name_PlackettLuce attribute)
(votekit.ballot_generator.short_name_PlackettLuce attribute)
(votekit.ballot_generator.slate_BradleyTerry attribute)
(votekit.ballot_generator.slate_PlackettLuce attribute)
BlocPlurality (class in votekit.elections.election_types.approval.approval)
boost_matrix() (in module votekit.matrices.candidate.boost)
boost_prob() (in module votekit.matrices.candidate.boost)
BoostedRandomDictator (class in votekit.elections.election_types.ranking.boosted_random_dictator)
Borda (class in votekit.elections.election_types.ranking.borda)
borda_scores() (in module votekit.utils)
build_graph() (votekit.graphs.ballot_graph.BallotGraph method)
C
C_bloc (votekit.ballot_generator.CambridgeSampler attribute)
CambridgeSampler (class in votekit.ballot_generator)
candidate_dist (votekit.ballot_generator.ClusteredSpatial attribute)
(votekit.ballot_generator.Spatial attribute)
candidate_dist_kwargs (votekit.ballot_generator.ClusteredSpatial attribute)
(votekit.ballot_generator.Spatial attribute)
candidate_distance() (in module votekit.matrices.candidate.candidate_distance)
candidate_distance_matrix() (in module votekit.matrices.candidate.candidate_distance)
candidates (votekit.ballot_generator.AlternatingCrossover attribute)
(votekit.ballot_generator.CambridgeSampler attribute)
(votekit.ballot_generator.ClusteredSpatial attribute)
(votekit.ballot_generator.name_BradleyTerry attribute)
(votekit.ballot_generator.name_Cumulative attribute)
(votekit.ballot_generator.name_PlackettLuce attribute)
(votekit.ballot_generator.OneDimSpatial attribute)
(votekit.ballot_generator.short_name_PlackettLuce attribute)
(votekit.ballot_generator.slate_BradleyTerry attribute)
(votekit.ballot_generator.slate_PlackettLuce attribute)
(votekit.ballot_generator.Spatial attribute)
(votekit.graphs.ballot_graph.BallotGraph attribute)
(votekit.graphs.pairwise_comparison_graph.PairwiseComparisonGraph attribute)
(votekit.pref_interval.PreferenceInterval attribute)
clean_profile() (in module votekit.cleaning.general_profiles.cleaning)
CleanedProfile (class in votekit.pref_profile)
ClusteredSpatial (class in votekit.ballot_generator)
cohesion_parameters (votekit.ballot_generator.AlternatingCrossover attribute)
(votekit.ballot_generator.CambridgeSampler attribute)
(votekit.ballot_generator.name_BradleyTerry attribute)
(votekit.ballot_generator.name_Cumulative attribute)
(votekit.ballot_generator.name_PlackettLuce attribute)
(votekit.ballot_generator.short_name_PlackettLuce attribute)
(votekit.ballot_generator.slate_BradleyTerry attribute)
(votekit.ballot_generator.slate_PlackettLuce attribute)
comention() (in module votekit.matrices.candidate.comentions)
comention_above() (in module votekit.matrices.candidate.comentions)
comentions_matrix() (in module votekit.matrices.candidate.comentions)
compute_MDS() (in module votekit.plots.mds)
condense_ballot_ranking() (in module votekit.cleaning.general_profiles.cleaning)
condense_profile() (in module votekit.cleaning.general_profiles.cleaning)
CondoBorda (class in votekit.elections.election_types.ranking.condo_borda)
convert_row_to_ballot() (in module votekit.pref_profile.utils)
Cumulative (class in votekit.elections.election_types.scores.rating)
D
distance (votekit.ballot_generator.ClusteredSpatial attribute)
(votekit.ballot_generator.Spatial attribute)
distance_matrix() (in module votekit.plots.mds)
DominatingSets (class in votekit.elections.election_types.ranking.dominating_sets)
draw() (votekit.graphs.ballot_graph.BallotGraph method)
(votekit.graphs.pairwise_comparison_graph.PairwiseComparisonGraph method)
E
earth_mover_dist() (in module votekit.metrics.distances)
elect_cands_from_set_ranking() (in module votekit.utils)
elected (votekit.elections.election_state.ElectionState attribute)
Election (class in votekit.models)
election_states (votekit.elections.election_types.ranking.abstract_ranking.RankingElection attribute)
(votekit.models.Election attribute)
ElectionState (class in votekit.elections.election_state)
eliminated (votekit.elections.election_state.ElectionState attribute)
eliminated_dict (votekit.elections.election_types.ranking.plurality_veto.PluralityVeto attribute)
em_array() (in module votekit.metrics.distances)
expand_tied_ballot() (in module votekit.utils)
F
first_place_votes() (in module votekit.utils)
fix_short_ballot() (votekit.graphs.ballot_graph.BallotGraph method)
fractional_transfer() (in module votekit.elections.transfers)
from_alpha() (votekit.ballot_generator.BallotSimplex class method)
from_csv() (votekit.pref_profile.PreferenceProfile class method)
from_dirichlet() (votekit.pref_interval.PreferenceInterval class method)
from_params() (votekit.ballot_generator.BallotGenerator class method)
from_pickle() (votekit.pref_profile.PreferenceProfile class method)
from_point() (votekit.ballot_generator.BallotSimplex class method)
from_profile() (votekit.graphs.ballot_graph.BallotGraph method)
G
GeneralRating (class in votekit.elections.election_types.scores.rating)
generate_profile() (votekit.ballot_generator.AlternatingCrossover method)
(votekit.ballot_generator.BallotGenerator method)
(votekit.ballot_generator.BallotSimplex method)
(votekit.ballot_generator.CambridgeSampler method)
(votekit.ballot_generator.name_BradleyTerry method)
(votekit.ballot_generator.name_Cumulative method)
(votekit.ballot_generator.OneDimSpatial method)
(votekit.ballot_generator.short_name_PlackettLuce method)
(votekit.ballot_generator.slate_BradleyTerry method)
(votekit.ballot_generator.slate_PlackettLuce method)
(votekit.ballot_generator.Spatial method)
generate_profile_MCMC() (votekit.ballot_generator.name_BradleyTerry method)
generate_profile_with_dict() (votekit.ballot_generator.ClusteredSpatial method)
get_condorcet_cycles() (votekit.graphs.pairwise_comparison_graph.PairwiseComparisonGraph method)
get_condorcet_winner() (votekit.graphs.pairwise_comparison_graph.PairwiseComparisonGraph method)
get_dominating_tiers() (votekit.graphs.pairwise_comparison_graph.PairwiseComparisonGraph method)
get_elected() (votekit.models.Election method)
get_eliminated() (votekit.models.Election method)
get_profile() (votekit.elections.election_types.ranking.alaska.Alaska method)
(votekit.models.Election method)
get_ranking() (votekit.models.Election method)
get_remaining() (votekit.models.Election method)
get_status_df() (votekit.models.Election method)
get_step() (votekit.models.Election method)
get_threshold() (votekit.elections.election_types.ranking.stv.STV method)
graph (votekit.graphs.ballot_graph.BallotGraph attribute)
group_ballots() (votekit.pref_profile.PreferenceProfile method)
H
has_condorcet_cycles() (votekit.graphs.pairwise_comparison_graph.PairwiseComparisonGraph method)
has_condorcet_winner() (votekit.graphs.pairwise_comparison_graph.PairwiseComparisonGraph method)
historical_majority (votekit.ballot_generator.CambridgeSampler attribute)
historical_minority (votekit.ballot_generator.CambridgeSampler attribute)
I
ImpartialAnonymousCulture (class in votekit.ballot_generator)
ImpartialCulture (class in votekit.ballot_generator)
interval (votekit.pref_interval.PreferenceInterval attribute)
IRV (class in votekit.elections.election_types.ranking.stv)
L
label_cands() (votekit.graphs.ballot_graph.BallotGraph method)
label_weights() (votekit.graphs.ballot_graph.BallotGraph method)
length (votekit.elections.election_types.ranking.abstract_ranking.RankingElection attribute)
(votekit.models.Election attribute)
Limited (class in votekit.elections.election_types.scores.rating)
load_csv() (in module votekit.cvr_loaders)
load_scottish() (in module votekit.cvr_loaders)
lp_dist() (in module votekit.metrics.distances)
M
m (votekit.elections.election_types.ranking.plurality_veto.PluralityVeto attribute)
matrix_heatmap() (in module votekit.matrices.heatmap)
mentions() (in module votekit.utils)
module
votekit
votekit.ballot_generator
votekit.cleaning
votekit.cleaning.general_profiles.cleaning
votekit.cvr_loaders
votekit.elections.election_types.approval.approval
votekit.elections.election_types.ranking.abstract_ranking
votekit.elections.election_types.ranking.alaska
votekit.elections.election_types.ranking.boosted_random_dictator
votekit.elections.election_types.ranking.borda
votekit.elections.election_types.ranking.condo_borda
votekit.elections.election_types.ranking.dominating_sets
votekit.elections.election_types.ranking.plurality
votekit.elections.election_types.ranking.plurality_veto
votekit.elections.election_types.ranking.random_dictator
votekit.elections.election_types.ranking.stv
votekit.elections.election_types.ranking.top_two
votekit.elections.election_types.scores.rating
votekit.elections.transfers
votekit.graphs.pairwise_comparison_graph
votekit.matrices.candidate.boost
votekit.matrices.candidate.candidate_distance
votekit.matrices.candidate.comentions
votekit.matrices.heatmap
votekit.metrics.distances
votekit.plots.bar_plot
votekit.plots.mds
votekit.plots.profiles.multi_profile_bar_plot
votekit.plots.profiles.profile_bar_plot
votekit.pref_profile.utils
votekit.representation_scores.representation_score
votekit.utils
multi_bar_plot() (in module votekit.plots.bar_plot)
multi_profile_ballot_lengths_plot() (in module votekit.plots.profiles.multi_profile_bar_plot)
multi_profile_bar_plot() (in module votekit.plots.profiles.multi_profile_bar_plot)
multi_profile_borda_plot() (in module votekit.plots.profiles.multi_profile_bar_plot)
multi_profile_fpv_plot() (in module votekit.plots.profiles.multi_profile_bar_plot)
multi_profile_mentions_plot() (in module votekit.plots.profiles.multi_profile_bar_plot)
N
name_BradleyTerry (class in votekit.ballot_generator)
name_Cumulative (class in votekit.ballot_generator)
name_PlackettLuce (class in votekit.ballot_generator)
non_zero_cands (votekit.pref_interval.PreferenceInterval attribute)
num_cands (votekit.graphs.ballot_graph.BallotGraph attribute)
num_voters (votekit.graphs.ballot_graph.BallotGraph attribute)
num_votes (votekit.ballot_generator.name_Cumulative attribute)
O
OneDimSpatial (class in votekit.ballot_generator)
P
pairwise_dict (votekit.graphs.pairwise_comparison_graph.PairwiseComparisonGraph attribute)
pairwise_dict() (in module votekit.graphs.pairwise_comparison_graph)
pairwise_graph (votekit.graphs.pairwise_comparison_graph.PairwiseComparisonGraph attribute)
PairwiseComparisonGraph (class in votekit.graphs.pairwise_comparison_graph)
path (votekit.ballot_generator.CambridgeSampler attribute)
plot_MDS() (in module votekit.plots.mds)
Plurality (class in votekit.elections.election_types.ranking.plurality)
PluralityVeto (class in votekit.elections.election_types.ranking.plurality_veto)
point (votekit.ballot_generator.BallotSimplex attribute)
pref_interval_by_bloc (votekit.ballot_generator.name_BradleyTerry attribute)
(votekit.ballot_generator.name_Cumulative attribute)
(votekit.ballot_generator.name_PlackettLuce attribute)
pref_intervals_by_bloc (votekit.ballot_generator.AlternatingCrossover attribute)
(votekit.ballot_generator.CambridgeSampler attribute)
(votekit.ballot_generator.name_BradleyTerry attribute)
(votekit.ballot_generator.name_Cumulative attribute)
(votekit.ballot_generator.name_PlackettLuce attribute)
(votekit.ballot_generator.slate_BradleyTerry attribute)
(votekit.ballot_generator.slate_PlackettLuce attribute)
preference_index (votekit.elections.election_types.ranking.plurality_veto.PluralityVeto attribute)
PreferenceInterval (class in votekit.pref_interval)
PreferenceProfile (class in votekit.pref_profile)
profile (votekit.graphs.ballot_graph.BallotGraph attribute)
(votekit.graphs.pairwise_comparison_graph.PairwiseComparisonGraph attribute)
profile_ballot_lengths_plot() (in module votekit.plots.profiles.profile_bar_plot)
profile_bar_plot() (in module votekit.plots.profiles.profile_bar_plot)
profile_borda_plot() (in module votekit.plots.profiles.profile_bar_plot)
profile_df_head() (in module votekit.pref_profile.utils)
profile_df_tail() (in module votekit.pref_profile.utils)
profile_fpv_plot() (in module votekit.plots.profiles.profile_bar_plot)
profile_mentions_plot() (in module votekit.plots.profiles.profile_bar_plot)
profile_to_ballot_dict() (in module votekit.pref_profile.utils)
profile_to_ranking_dict() (in module votekit.pref_profile.utils)
profile_to_scores_dict() (in module votekit.pref_profile.utils)
profiles_to_ndarrys() (in module votekit.metrics.distances)
R
random_order (votekit.elections.election_types.ranking.plurality_veto.PluralityVeto attribute)
random_transfer() (in module votekit.elections.transfers)
RandomDictator (class in votekit.elections.election_types.ranking.random_dictator)
ranking (votekit.ballot.Ballot attribute)
RankingElection (class in votekit.elections.election_types.ranking.abstract_ranking)
Rating (class in votekit.elections.election_types.scores.rating)
remaining (votekit.elections.election_state.ElectionState attribute)
remove_and_condense() (in module votekit.cleaning.general_profiles.cleaning)
remove_cand() (in module votekit.cleaning.general_profiles.cleaning)
remove_cand_from_ballot() (in module votekit.cleaning.general_profiles.cleaning)
remove_repeated_candidates() (in module votekit.cleaning.general_profiles.cleaning)
remove_repeated_candidates_from_ballot() (in module votekit.cleaning.general_profiles.cleaning)
resolve_profile_ties() (in module votekit.utils)
restrict_pairwise_dict_to_subset() (in module votekit.graphs.pairwise_comparison_graph)
round_number (votekit.elections.election_state.ElectionState attribute)
S
sample_cohesion_ballot_types() (in module votekit.ballot_generator)
score_dict_to_ranking() (in module votekit.utils)
score_function (votekit.elections.election_types.ranking.abstract_ranking.RankingElection attribute)
(votekit.models.Election attribute)
score_profile_from_ballot_scores() (in module votekit.utils)
score_profile_from_rankings() (in module votekit.utils)
scores (votekit.ballot.Ballot attribute)
(votekit.elections.election_state.ElectionState attribute)
SequentialRCV (class in votekit.elections.election_types.ranking.stv)
short_name_PlackettLuce (class in votekit.ballot_generator)
slate_BradleyTerry (class in votekit.ballot_generator)
slate_PlackettLuce (class in votekit.ballot_generator)
slate_to_candidates (votekit.ballot_generator.AlternatingCrossover attribute)
(votekit.ballot_generator.CambridgeSampler attribute)
(votekit.ballot_generator.name_BradleyTerry attribute)
(votekit.ballot_generator.name_Cumulative attribute)
(votekit.ballot_generator.name_PlackettLuce attribute)
(votekit.ballot_generator.short_name_PlackettLuce attribute)
(votekit.ballot_generator.slate_BradleyTerry attribute)
(votekit.ballot_generator.slate_PlackettLuce attribute)
SNTV (class in votekit.elections.election_types.ranking.plurality)
Spatial (class in votekit.ballot_generator)
STV (class in votekit.elections.election_types.ranking.stv)
T
tiebreak (votekit.elections.election_types.ranking.plurality_veto.PluralityVeto attribute)
tiebreak_set() (in module votekit.utils)
tiebreaks (votekit.elections.election_state.ElectionState attribute)
tiebroken_ranking() (in module votekit.utils)
ties_or_beats() (votekit.graphs.pairwise_comparison_graph.PairwiseComparisonGraph method)
to_csv() (votekit.pref_profile.PreferenceProfile method)
to_pickle() (votekit.pref_profile.PreferenceProfile method)
TopTwo (class in votekit.elections.election_types.ranking.top_two)
V
validate_score_vector() (in module votekit.utils)
votekit
module
votekit.ballot_generator
module
votekit.cleaning
module
votekit.cleaning.general_profiles.cleaning
module
votekit.cvr_loaders
module
votekit.elections.election_types.approval.approval
module
votekit.elections.election_types.ranking.abstract_ranking
module
votekit.elections.election_types.ranking.alaska
module
votekit.elections.election_types.ranking.boosted_random_dictator
module
votekit.elections.election_types.ranking.borda
module
votekit.elections.election_types.ranking.condo_borda
module
votekit.elections.election_types.ranking.dominating_sets
module
votekit.elections.election_types.ranking.plurality
module
votekit.elections.election_types.ranking.plurality_veto
module
votekit.elections.election_types.ranking.random_dictator
module
votekit.elections.election_types.ranking.stv
module
votekit.elections.election_types.ranking.top_two
module
votekit.elections.election_types.scores.rating
module
votekit.elections.transfers
module
votekit.graphs.pairwise_comparison_graph
module
votekit.matrices.candidate.boost
module
votekit.matrices.candidate.candidate_distance
module
votekit.matrices.candidate.comentions
module
votekit.matrices.heatmap
module
votekit.metrics.distances
module
votekit.plots.bar_plot
module
votekit.plots.mds
module
votekit.plots.profiles.multi_profile_bar_plot
module
votekit.plots.profiles.profile_bar_plot
module
votekit.pref_profile.utils
module
votekit.representation_scores.representation_score
module
votekit.utils
module
voter_dist (votekit.ballot_generator.ClusteredSpatial attribute)
(votekit.ballot_generator.Spatial attribute)
voter_dist_kwargs (votekit.ballot_generator.ClusteredSpatial attribute)
(votekit.ballot_generator.Spatial attribute)
voter_set (votekit.ballot.Ballot attribute)
W
W_bloc (votekit.ballot_generator.CambridgeSampler attribute)
weight (votekit.ballot.Ballot attribute)
Z
zero_cands (votekit.pref_interval.PreferenceInterval attribute)