bluecast.tests.test_catboost¶
Module Contents¶
Functions¶
Test that predict_proba raises proper exceptions for various error conditions. |
|
Test that predict raises proper exceptions for various error conditions. |
|
Test predict_proba method for binary classification with a properly trained model. |
|
Test predict_proba method for multiclass classification with a properly trained model. |
|
Test predict method for binary classification with threshold logic. |
|
Test predict method for multiclass classification with argmax logic. |
|
Test predict_proba method with custom in-fold preprocessor. |
|
Test predict method with custom in-fold preprocessor. |
|
Test predict and predict_proba methods with categorical columns. |
|
Test the train_single_fold_model method. |
|
Test fit method with use_full_data_for_final_model enabled. |
|
Test fit method with empty test data. |
|
Test fit method with early stopping enabled. |
|
Test predict method with custom classification threshold. |
|
Test that predict_proba raises ValueError when conf_catboost is None. |
|
Test that predict_proba raises ValueError when conf_training is None. |
|
Test that predict_proba raises Exception when model is None. |
|
Test that predict_proba raises Exception when conf_params_catboost is None. |
|
- bluecast.tests.test_catboost.test_catboost_predict_proba_exceptions()¶
Test that predict_proba raises proper exceptions for various error conditions.
- bluecast.tests.test_catboost.test_catboost_predict_exceptions()¶
Test that predict raises proper exceptions for various error conditions.
- bluecast.tests.test_catboost.test_catboost_predict_proba_binary_with_trained_model()¶
Test predict_proba method for binary classification with a properly trained model.
- bluecast.tests.test_catboost.test_catboost_predict_proba_multiclass_with_trained_model()¶
Test predict_proba method for multiclass classification with a properly trained model.
- bluecast.tests.test_catboost.test_catboost_predict_with_trained_model_binary()¶
Test predict method for binary classification with threshold logic.
- bluecast.tests.test_catboost.test_catboost_predict_with_trained_model_multiclass()¶
Test predict method for multiclass classification with argmax logic.
- bluecast.tests.test_catboost.test_catboost_predict_proba_with_custom_preprocessor()¶
Test predict_proba method with custom in-fold preprocessor.
- bluecast.tests.test_catboost.test_catboost_predict_with_custom_preprocessor()¶
Test predict method with custom in-fold preprocessor.
- bluecast.tests.test_catboost.test_catboost_predict_with_categorical_columns()¶
Test predict and predict_proba methods with categorical columns.
- bluecast.tests.test_catboost.test_catboost_train_single_fold_model()¶
Test the train_single_fold_model method.
- bluecast.tests.test_catboost.test_catboost_fit_with_use_full_data_for_final_model()¶
Test fit method with use_full_data_for_final_model enabled.
- bluecast.tests.test_catboost.test_catboost_fit_with_empty_test_data()¶
Test fit method with empty test data.
- bluecast.tests.test_catboost.test_catboost_fit_with_early_stopping()¶
Test fit method with early stopping enabled.
- bluecast.tests.test_catboost.test_catboost_predict_with_classification_threshold()¶
Test predict method with custom classification threshold.
- bluecast.tests.test_catboost.test_catboost_no_catboost_config_fixed()¶
Test that predict_proba raises ValueError when conf_catboost is None.
- bluecast.tests.test_catboost.test_catboost_no_conf_training_fixed()¶
Test that predict_proba raises ValueError when conf_training is None.
- bluecast.tests.test_catboost.test_catboost_no_model_fixed()¶
Test that predict_proba raises Exception when model is None.
- bluecast.tests.test_catboost.test_catboost_no_conf_params_catboost_fixed()¶
Test that predict_proba raises Exception when conf_params_catboost is None.
- 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()¶