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
Remarks:
(none)

Public predicates

(no local declarations; see entity ancestors if any)

Protected predicates

(no local declarations; see entity ancestors if any)

Private predicates

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)

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)