ternary_plot_convergence

poisson_approval.ternary_plot_convergence(simplex_to_profile, scale, n_max_episodes, init='sincere', samples_per_point=1, perception_update_ratio=<function one_over_log_t_plus_one>, ballot_update_ratio=<function one_over_log_t_plus_one>, title='Convergence frequency', meth='fictitious_play', **kwargs)[source]

Shortcut: ternary plot for the convergence frequency in fictitious play / iterated voting.

Convergence frequency: out of samples_per_points trials, in which proportion of the cases did fictitious play or iterated voting converge within n_max_episodes iterations?

Parameters

Examples

>>> simplex_to_profile = SimplexToProfile(
...     ProfileNoisyDiscrete,
...     left_type=('abc', 0.5, 0.01), right_type=('bac', 0.5, 0.01), top_type=('cab', 0.5, 0.01))
>>> figure, tax = ternary_plot_convergence(simplex_to_profile, scale=10, n_max_episodes=10)