.. index:: single: adaptive_boosting_classifier .. _adaptive_boosting_classifier/0: .. rst-class:: right **object** ``adaptive_boosting_classifier`` ================================ Adaptive Boosting classifier using C4.5 decision trees as base learners. Implements the SAMME (Stagewise Additive Modeling using a Multi-class Exponential loss function) variant, which supports multi-class classification. Builds an ensemble of weighted decision trees where each subsequent tree focuses on the examples misclassified by previous trees. | **Availability:** | ``logtalk_load(adaptive_boosting_classifier(loader))`` | **Author:** Paulo Moura | **Version:** 3:1:0 | **Date:** 2026-10-29 | **Compilation flags:** | ``static, context_switching_calls`` | **Imports:** | ``public`` :ref:`probabilistic_classifier_common ` | **Uses:** | :ref:`avltree ` | :ref:`c45_classifier ` | :ref:`fast_random(Algorithm) ` | :ref:`format ` | :ref:`list ` | :ref:`pairs ` | :ref:`type ` | **Remarks:** | (none) | **Inherited public predicates:** |  :ref:`classifier_protocol/0::check_classifier/1`  :ref:`options_protocol/0::check_option/1`  :ref:`options_protocol/0::check_options/1`  :ref:`classifier_protocol/0::classifier_options/2`  :ref:`options_protocol/0::default_option/1`  :ref:`options_protocol/0::default_options/1`  :ref:`classifier_protocol/0::diagnostic/2`  :ref:`classifier_protocol/0::diagnostics/2`  :ref:`classifier_protocol/0::export_to_clauses/4`  :ref:`classifier_protocol/0::export_to_file/4`  :ref:`classifier_protocol/0::learn/2`  :ref:`classifier_protocol/0::learn/3`  :ref:`options_protocol/0::option/2`  :ref:`options_protocol/0::option/3`  :ref:`classifier_protocol/0::predict/3`  :ref:`probabilistic_classifier_protocol/0::predict_probabilities/3`  :ref:`classifier_protocol/0::print_classifier/1`  :ref:`classifier_protocol/0::valid_classifier/1`  :ref:`options_protocol/0::valid_option/1`  :ref:`options_protocol/0::valid_options/1`   .. contents:: :local: :backlinks: top Public predicates ----------------- (no local declarations; see entity ancestors if any) Protected predicates -------------------- (no local declarations; see entity ancestors if any) Private predicates ------------------ .. index:: check_ensemble/2 .. _adaptive_boosting_classifier/0::check_ensemble/2: ``check_ensemble/2`` ^^^^^^^^^^^^^^^^^^^^ Checks that learning accepted at least one estimator. | **Compilation flags:** | ``static`` | **Template:** | ``check_ensemble(Dataset,WeightedTrees)`` | **Mode and number of proofs:** | ``check_ensemble(+object_identifier,+list)`` - ``one_or_error`` | **Exceptions:** | No estimator was accepted: | ``domain_error(non_empty_ensemble,Dataset)`` ------------ .. index:: train_with_cleanup/1 .. _adaptive_boosting_classifier/0::train_with_cleanup/1: ``train_with_cleanup/1`` ^^^^^^^^^^^^^^^^^^^^^^^^ Learns a C4.5 tree using a dataset-tree pair and abolishes the temporary dataset on success, failure, or exception. | **Compilation flags:** | ``static`` | **Template:** | ``train_with_cleanup(DatasetTree)`` | **Mode and number of proofs:** | ``train_with_cleanup(+pair(object_identifier,term))`` - ``zero_or_one`` | **Exceptions:** | C4.5 learning throws an exception: | ``Exception`` ------------ Operators --------- (none) .. seealso:: :ref:`dataset_protocol `, :ref:`c45_classifier `, :ref:`isolation_forest_anomaly_detector `, :ref:`knn_classifier `, :ref:`naive_bayes_classifier `, :ref:`nearest_centroid_classifier `, :ref:`random_forest_classifier `