:py:mod:`bluecast.tests.test_catboost` ====================================== .. py:module:: bluecast.tests.test_catboost Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: bluecast.tests.test_catboost.test_catboost_predict_proba_exceptions bluecast.tests.test_catboost.test_catboost_predict_exceptions bluecast.tests.test_catboost.test_catboost_predict_proba_binary_with_trained_model bluecast.tests.test_catboost.test_catboost_predict_proba_multiclass_with_trained_model bluecast.tests.test_catboost.test_catboost_predict_with_trained_model_binary bluecast.tests.test_catboost.test_catboost_predict_with_trained_model_multiclass bluecast.tests.test_catboost.test_catboost_predict_proba_with_custom_preprocessor bluecast.tests.test_catboost.test_catboost_predict_with_custom_preprocessor bluecast.tests.test_catboost.test_catboost_predict_with_categorical_columns bluecast.tests.test_catboost.test_catboost_train_single_fold_model bluecast.tests.test_catboost.test_catboost_fit_with_use_full_data_for_final_model bluecast.tests.test_catboost.test_catboost_fit_with_empty_test_data bluecast.tests.test_catboost.test_catboost_fit_with_early_stopping bluecast.tests.test_catboost.test_catboost_predict_with_classification_threshold bluecast.tests.test_catboost.test_catboost_no_catboost_config_fixed bluecast.tests.test_catboost.test_catboost_no_conf_training_fixed bluecast.tests.test_catboost.test_catboost_no_model_fixed bluecast.tests.test_catboost.test_catboost_no_conf_params_catboost_fixed bluecast.tests.test_catboost.test_bluecast_without_hyperparam_tuning bluecast.tests.test_catboost.test_bluecast_with_hyperparam_tuning bluecast.tests.test_catboost.test_bluecast_with_fine_tune_hyperparam_tuning bluecast.tests.test_catboost.test_bluecast_with_grid_search_tune_hyperparam_tuning .. py:function:: test_catboost_predict_proba_exceptions() Test that predict_proba raises proper exceptions for various error conditions. .. py:function:: test_catboost_predict_exceptions() Test that predict raises proper exceptions for various error conditions. .. py:function:: test_catboost_predict_proba_binary_with_trained_model() Test predict_proba method for binary classification with a properly trained model. .. py:function:: test_catboost_predict_proba_multiclass_with_trained_model() Test predict_proba method for multiclass classification with a properly trained model. .. py:function:: test_catboost_predict_with_trained_model_binary() Test predict method for binary classification with threshold logic. .. py:function:: test_catboost_predict_with_trained_model_multiclass() Test predict method for multiclass classification with argmax logic. .. py:function:: test_catboost_predict_proba_with_custom_preprocessor() Test predict_proba method with custom in-fold preprocessor. .. py:function:: test_catboost_predict_with_custom_preprocessor() Test predict method with custom in-fold preprocessor. .. py:function:: test_catboost_predict_with_categorical_columns() Test predict and predict_proba methods with categorical columns. .. py:function:: test_catboost_train_single_fold_model() Test the train_single_fold_model method. .. py:function:: test_catboost_fit_with_use_full_data_for_final_model() Test fit method with use_full_data_for_final_model enabled. .. py:function:: test_catboost_fit_with_empty_test_data() Test fit method with empty test data. .. py:function:: test_catboost_fit_with_early_stopping() Test fit method with early stopping enabled. .. py:function:: test_catboost_predict_with_classification_threshold() Test predict method with custom classification threshold. .. py:function:: test_catboost_no_catboost_config_fixed() Test that predict_proba raises ValueError when conf_catboost is None. .. py:function:: test_catboost_no_conf_training_fixed() Test that predict_proba raises ValueError when conf_training is None. .. py:function:: test_catboost_no_model_fixed() Test that predict_proba raises Exception when model is None. .. py:function:: test_catboost_no_conf_params_catboost_fixed() Test that predict_proba raises Exception when conf_params_catboost is None. .. py:function:: test_bluecast_without_hyperparam_tuning() .. py:function:: test_bluecast_with_hyperparam_tuning() .. py:function:: test_bluecast_with_fine_tune_hyperparam_tuning() .. py:function:: test_bluecast_with_grid_search_tune_hyperparam_tuning()