:py:mod:`bluecast.tests.test_analyse` ===================================== .. py:module:: bluecast.tests.test_analyse Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: bluecast.tests.test_analyse.synthetic_train_test_data bluecast.tests.test_analyse.synthetic_train_test_data_regression bluecast.tests.test_analyse.synthetic_categorical_data bluecast.tests.test_analyse.create_data_with_nulls bluecast.tests.test_analyse.create_data_with_many_uniques bluecast.tests.test_analyse.test_plot_pie_chart bluecast.tests.test_analyse.test_univariate_plots bluecast.tests.test_analyse.test_bi_variate_plots bluecast.tests.test_analyse.test_correlation_heatmap bluecast.tests.test_analyse.test_correlation_to_target bluecast.tests.test_analyse.test_mutual_info_to_target bluecast.tests.test_analyse.test_mutual_info_to_target_multiclass bluecast.tests.test_analyse.test_mutual_info_to_target_regression bluecast.tests.test_analyse.test_pca_plot bluecast.tests.test_analyse.test_pca_biplot bluecast.tests.test_analyse.test_plot_pca_cumulative_variance bluecast.tests.test_analyse.test_plot_tsne bluecast.tests.test_analyse.test_plot_theil_u_heatmap bluecast.tests.test_analyse.test_plot_null_percentage bluecast.tests.test_analyse.test_check_unique_values bluecast.tests.test_analyse.test_plot_classification_target_distribution_within_categories bluecast.tests.test_analyse.test_plot_against_target_for_regression bluecast.tests.test_analyse.test_plot_ecdf bluecast.tests.test_analyse.test_plot_distribution_by_time bluecast.tests.test_analyse.test_plot_distribution_pairs bluecast.tests.test_analyse.test_plot_andrews_curve bluecast.tests.test_analyse.test_plot_count_pair bluecast.tests.test_analyse.test_plot_count_pairs bluecast.tests.test_analyse.test_create_eda_dashboard bluecast.tests.test_analyse.test_dashboard_callbacks_logic bluecast.tests.test_analyse.test_dashboard_server_startup bluecast.tests.test_analyse.test_show_parameter_coverage bluecast.tests.test_analyse.test_dashboard_import_error bluecast.tests.test_analyse.test_dashboard_categorical_target_removal bluecast.tests.test_analyse.test_dashboard_update_plot_all_branches bluecast.tests.test_analyse.test_dashboard_update_summary_all_branches bluecast.tests.test_analyse.test_dashboard_comprehensive_callbacks_coverage bluecast.tests.test_analyse.test_dashboard_helper_functions_coverage bluecast.tests.test_analyse.test_plot_benfords_law bluecast.tests.test_analyse.test_plot_missing_values_matrix bluecast.tests.test_analyse.test_plot_category_frequency bluecast.tests.test_analyse.test_create_eda_dashboard_regression bluecast.tests.test_analyse.test_create_eda_dashboard_classification .. py:function:: synthetic_train_test_data() -> Tuple[pandas.DataFrame, pandas.DataFrame] .. py:function:: synthetic_train_test_data_regression() -> Tuple[pandas.DataFrame, pandas.DataFrame] .. py:function:: synthetic_categorical_data() -> pandas.DataFrame .. py:function:: create_data_with_nulls() -> pandas.DataFrame .. py:function:: create_data_with_many_uniques() -> pandas.DataFrame .. py:function:: test_plot_pie_chart(synthetic_train_test_data) .. py:function:: test_univariate_plots(synthetic_train_test_data) .. py:function:: test_bi_variate_plots(synthetic_train_test_data) .. py:function:: test_correlation_heatmap(synthetic_train_test_data) .. py:function:: test_correlation_to_target(synthetic_train_test_data) .. py:function:: test_mutual_info_to_target(synthetic_train_test_data) .. py:function:: test_mutual_info_to_target_multiclass(synthetic_train_test_data) .. py:function:: test_mutual_info_to_target_regression(synthetic_train_test_data_regression) .. py:function:: test_pca_plot(synthetic_train_test_data) .. py:function:: test_pca_biplot(synthetic_train_test_data) .. py:function:: test_plot_pca_cumulative_variance(synthetic_train_test_data) .. py:function:: test_plot_tsne(synthetic_train_test_data) .. py:function:: test_plot_theil_u_heatmap(synthetic_categorical_data) .. py:function:: test_plot_null_percentage(create_data_with_nulls) .. py:function:: test_check_unique_values(create_data_with_many_uniques) .. py:function:: test_plot_classification_target_distribution_within_categories(synthetic_train_test_data) .. py:function:: test_plot_against_target_for_regression(synthetic_train_test_data_regression) .. py:function:: test_plot_ecdf(synthetic_train_test_data) .. py:function:: test_plot_distribution_by_time(synthetic_train_test_data) .. py:function:: test_plot_distribution_pairs(synthetic_train_test_data) .. py:function:: test_plot_andrews_curve(synthetic_train_test_data) .. py:function:: test_plot_count_pair(synthetic_train_test_data) Test plot_count_pair function with different parameters. .. py:function:: test_plot_count_pairs(synthetic_train_test_data) Test plot_count_pairs function. .. py:function:: test_create_eda_dashboard() .. py:function:: test_dashboard_callbacks_logic() Test the dashboard callback logic by manually testing the expected behavior. .. py:function:: test_dashboard_server_startup() Test the server startup code path. .. py:function:: test_show_parameter_coverage() Test all plotting functions with show=True to increase coverage. .. py:function:: test_dashboard_import_error() Test ImportError handling when dash is not available. .. py:function:: test_dashboard_categorical_target_removal() Test the categorical_cols.remove(target_col) line coverage. .. py:function:: test_dashboard_update_plot_all_branches() Test all branches of the update_plot function in dashboard. .. py:function:: test_dashboard_update_summary_all_branches() Test all branches of the update_summary function in dashboard. .. py:function:: test_dashboard_comprehensive_callbacks_coverage() Test comprehensive coverage of dashboard callback functions including all edge cases. .. py:function:: test_dashboard_helper_functions_coverage() Test the dashboard helper functions directly to ensure proper coverage. .. py:function:: test_plot_benfords_law() Test Benford's Law analysis plotting. .. py:function:: test_plot_missing_values_matrix() Test missing values matrix plotting. .. py:function:: test_plot_category_frequency() Test category frequency plotting. .. py:function:: test_create_eda_dashboard_regression() Test regression dashboard creation without starting server. .. py:function:: test_create_eda_dashboard_classification() Test classification dashboard creation without starting server.