phitter.discrete package

Subpackages

Submodules

phitter.discrete.phitter_discrete module

class phitter.discrete.phitter_discrete.PhitterDiscrete(data, confidence_level=0.95, minimum_sse=inf, subsample_size=None, subsample_estimation_size=None, distributions_to_fit='all', exclude_distributions='any')

Bases: object

fit(n_workers=1)
parse_rgba_color(rgba_string)
plot_distribution_pmf_matplotlib(id_distribution, plot_title, plot_xaxis_title, plot_yaxis_title, plot_legend_title, plot_height, plot_width, plot_bar_color, plot_bargap, plot_line_color, plot_line_width)
plot_distribution_pmf_plotly(id_distribution, plot_title, plot_xaxis_title, plot_yaxis_title, plot_legend_title, plot_height, plot_width, plot_bar_color, plot_bargap, plot_line_color, plot_line_width, plotly_plot_renderer)
plot_ecdf_distribution_matplotlib(id_distribution, plot_title, plot_xaxis_title, plot_yaxis_title, plot_legend_title, plot_height, plot_width, plot_empirical_bar_color, plot_empirical_bargap, plot_distribution_line_color, plot_distribution_line_width)
plot_ecdf_distribution_plotly(id_distribution, plot_title, plot_xaxis_title, plot_yaxis_title, plot_legend_title, plot_height, plot_width, plot_empirical_bar_color, plot_empirical_bargap, plot_distribution_line_color, plot_distribution_line_width, plotly_plot_renderer)
plot_ecdf_matplotlib(plot_title, plot_xaxis_title, plot_yaxis_title, plot_legend_title, plot_height, plot_width, plot_bar_color)
plot_ecdf_plotly(plot_title, plot_xaxis_title, plot_yaxis_title, plot_legend_title, plot_height, plot_width, plot_bar_color, plot_bargap, plotly_plot_renderer)
plot_histogram_distributions_pmf_matplotlib(n_distributions, n_distributions_visible, plot_title, plot_xaxis_title, plot_yaxis_title, plot_legend_title, plot_height, plot_width, plot_bar_color, plot_bargap)
plot_histogram_distributions_pmf_plotly(n_distributions, n_distributions_visible, plot_title, plot_xaxis_title, plot_yaxis_title, plot_legend_title, plot_height, plot_width, plot_bar_color, plot_bargap, plotly_plot_renderer)
plot_histogram_matplotlib(plot_title, plot_xaxis_title, plot_yaxis_title, plot_legend_title, plot_height, plot_width, plot_bar_color, plot_bargap)
plot_histogram_plotly(plot_title, plot_xaxis_title, plot_yaxis_title, plot_legend_title, plot_height, plot_width, plot_bar_color, plot_bargap, plotly_plot_renderer)
process_distribution(id_distribution)
Return type:

tuple[str, dict, Any] | None

qq_plot_matplotlib(id_distribution, plot_title, plot_xaxis_title, plot_yaxis_title, plot_legend_title, plot_height, plot_width, qq_marker_name, qq_marker_color, qq_marker_size)
qq_plot_plotly(id_distribution, plot_title, plot_xaxis_title, plot_yaxis_title, plot_legend_title, plot_height, plot_width, qq_marker_name, qq_marker_color, qq_marker_size, plotly_plot_renderer)
qq_plot_regression_matplotlib(id_distribution, plot_title, plot_xaxis_title, plot_yaxis_title, plot_legend_title, plot_height, plot_width, qq_marker_name, qq_marker_color, qq_marker_size, regression_line_name, regression_line_color, regression_line_width)
qq_plot_regression_plotly(id_distribution, plot_title, plot_xaxis_title, plot_yaxis_title, plot_legend_title, plot_height, plot_width, qq_marker_name, qq_marker_color, qq_marker_size, regression_line_name, regression_line_color, regression_line_width, plotly_plot_renderer)
test(test_function, label, distribution)

Module contents