bluecast.tests.test_analyse

Module Contents

Functions

synthetic_train_test_data(→ Tuple[pandas.DataFrame, ...)

synthetic_train_test_data_regression(...)

synthetic_categorical_data(→ pandas.DataFrame)

create_data_with_nulls(→ pandas.DataFrame)

create_data_with_many_uniques(→ pandas.DataFrame)

test_plot_pie_chart(synthetic_train_test_data)

test_univariate_plots(synthetic_train_test_data)

test_bi_variate_plots(synthetic_train_test_data)

test_correlation_heatmap(synthetic_train_test_data)

test_correlation_to_target(synthetic_train_test_data)

test_mutual_info_to_target(synthetic_train_test_data)

test_mutual_info_to_target_multiclass(...)

test_mutual_info_to_target_regression(...)

test_pca_plot(synthetic_train_test_data)

test_pca_biplot(synthetic_train_test_data)

test_plot_pca_cumulative_variance(...)

test_plot_tsne(synthetic_train_test_data)

test_plot_theil_u_heatmap(synthetic_categorical_data)

test_plot_null_percentage(create_data_with_nulls)

test_check_unique_values(create_data_with_many_uniques)

test_plot_classification_target_distribution_within_categories(...)

test_plot_against_target_for_regression(...)

test_plot_ecdf(synthetic_train_test_data)

test_plot_distribution_by_time(synthetic_train_test_data)

test_plot_distribution_pairs(synthetic_train_test_data)

test_plot_andrews_curve(synthetic_train_test_data)

test_plot_count_pair(synthetic_train_test_data)

Test plot_count_pair function with different parameters.

test_plot_count_pairs(synthetic_train_test_data)

Test plot_count_pairs function.

test_create_eda_dashboard()

test_dashboard_callbacks_logic()

Test the dashboard callback logic by manually testing the expected behavior.

test_dashboard_server_startup()

Test the server startup code path.

test_show_parameter_coverage()

Test all plotting functions with show=True to increase coverage.

test_dashboard_import_error()

Test ImportError handling when dash is not available.

test_dashboard_categorical_target_removal()

Test the categorical_cols.remove(target_col) line coverage.

test_dashboard_update_plot_all_branches()

Test all branches of the update_plot function in dashboard.

test_dashboard_update_summary_all_branches()

Test all branches of the update_summary function in dashboard.

test_dashboard_comprehensive_callbacks_coverage()

Test comprehensive coverage of dashboard callback functions including all edge cases.

test_dashboard_helper_functions_coverage()

Test the dashboard helper functions directly to ensure proper coverage.

test_plot_benfords_law()

Test Benford's Law analysis plotting.

test_plot_missing_values_matrix()

Test missing values matrix plotting.

test_plot_category_frequency()

Test category frequency plotting.

test_create_eda_dashboard_regression()

Test regression dashboard creation without starting server.

test_create_eda_dashboard_classification()

Test classification dashboard creation without starting server.

bluecast.tests.test_analyse.synthetic_train_test_data() Tuple[pandas.DataFrame, pandas.DataFrame]
bluecast.tests.test_analyse.synthetic_train_test_data_regression() Tuple[pandas.DataFrame, pandas.DataFrame]
bluecast.tests.test_analyse.synthetic_categorical_data() pandas.DataFrame
bluecast.tests.test_analyse.create_data_with_nulls() pandas.DataFrame
bluecast.tests.test_analyse.create_data_with_many_uniques() pandas.DataFrame
bluecast.tests.test_analyse.test_plot_pie_chart(synthetic_train_test_data)
bluecast.tests.test_analyse.test_univariate_plots(synthetic_train_test_data)
bluecast.tests.test_analyse.test_bi_variate_plots(synthetic_train_test_data)
bluecast.tests.test_analyse.test_correlation_heatmap(synthetic_train_test_data)
bluecast.tests.test_analyse.test_correlation_to_target(synthetic_train_test_data)
bluecast.tests.test_analyse.test_mutual_info_to_target(synthetic_train_test_data)
bluecast.tests.test_analyse.test_mutual_info_to_target_multiclass(synthetic_train_test_data)
bluecast.tests.test_analyse.test_mutual_info_to_target_regression(synthetic_train_test_data_regression)
bluecast.tests.test_analyse.test_pca_plot(synthetic_train_test_data)
bluecast.tests.test_analyse.test_pca_biplot(synthetic_train_test_data)
bluecast.tests.test_analyse.test_plot_pca_cumulative_variance(synthetic_train_test_data)
bluecast.tests.test_analyse.test_plot_tsne(synthetic_train_test_data)
bluecast.tests.test_analyse.test_plot_theil_u_heatmap(synthetic_categorical_data)
bluecast.tests.test_analyse.test_plot_null_percentage(create_data_with_nulls)
bluecast.tests.test_analyse.test_check_unique_values(create_data_with_many_uniques)
bluecast.tests.test_analyse.test_plot_classification_target_distribution_within_categories(synthetic_train_test_data)
bluecast.tests.test_analyse.test_plot_against_target_for_regression(synthetic_train_test_data_regression)
bluecast.tests.test_analyse.test_plot_ecdf(synthetic_train_test_data)
bluecast.tests.test_analyse.test_plot_distribution_by_time(synthetic_train_test_data)
bluecast.tests.test_analyse.test_plot_distribution_pairs(synthetic_train_test_data)
bluecast.tests.test_analyse.test_plot_andrews_curve(synthetic_train_test_data)
bluecast.tests.test_analyse.test_plot_count_pair(synthetic_train_test_data)

Test plot_count_pair function with different parameters.

bluecast.tests.test_analyse.test_plot_count_pairs(synthetic_train_test_data)

Test plot_count_pairs function.

bluecast.tests.test_analyse.test_create_eda_dashboard()
bluecast.tests.test_analyse.test_dashboard_callbacks_logic()

Test the dashboard callback logic by manually testing the expected behavior.

bluecast.tests.test_analyse.test_dashboard_server_startup()

Test the server startup code path.

bluecast.tests.test_analyse.test_show_parameter_coverage()

Test all plotting functions with show=True to increase coverage.

bluecast.tests.test_analyse.test_dashboard_import_error()

Test ImportError handling when dash is not available.

bluecast.tests.test_analyse.test_dashboard_categorical_target_removal()

Test the categorical_cols.remove(target_col) line coverage.

bluecast.tests.test_analyse.test_dashboard_update_plot_all_branches()

Test all branches of the update_plot function in dashboard.

bluecast.tests.test_analyse.test_dashboard_update_summary_all_branches()

Test all branches of the update_summary function in dashboard.

bluecast.tests.test_analyse.test_dashboard_comprehensive_callbacks_coverage()

Test comprehensive coverage of dashboard callback functions including all edge cases.

bluecast.tests.test_analyse.test_dashboard_helper_functions_coverage()

Test the dashboard helper functions directly to ensure proper coverage.

bluecast.tests.test_analyse.test_plot_benfords_law()

Test Benford’s Law analysis plotting.

bluecast.tests.test_analyse.test_plot_missing_values_matrix()

Test missing values matrix plotting.

bluecast.tests.test_analyse.test_plot_category_frequency()

Test category frequency plotting.

bluecast.tests.test_analyse.test_create_eda_dashboard_regression()

Test regression dashboard creation without starting server.

bluecast.tests.test_analyse.test_create_eda_dashboard_classification()

Test classification dashboard creation without starting server.