random_forest_classifier — Logtalk 3.100.1

object

# `random_forest_classifier`

Random Forest classifier using C4.5 decision trees as base learners. Builds an ensemble of decision trees trained on bootstrap samples with random feature subsets and combines their predictions through majority voting.

Availability:
`logtalk_load(random_forest_classifier(loader))`
Author: Paulo Moura
Version: 2:0:0
Date: 2026-05-11
Compilation flags:
`static, context_switching_calls`
Imports:
`public` probabilistic_classifier_common
Uses:
c45_classifier
fast_random(Algorithm)
format
list
pairs
type
Remarks:
(none)
Inherited public predicates:
check_classifier/1 check_option/1 check_options/1 classifier_options/2 default_option/1 default_options/1 diagnostic/2 diagnostics/2 export_to_clauses/4 export_to_file/4 learn/2 learn/3 option/2 option/3 predict/3 predict_probabilities/3 print_classifier/1 valid_classifier/1 valid_option/1 valid_options/1

## Public predicates

(no local declarations; see entity ancestors if any)

## Protected predicates

(no local declarations; see entity ancestors if any)

## Private predicates

(no local declarations; see entity ancestors if any)

## Operators

(none)

See also

dataset_protocol, c45_classifier, isolation_forest_anomaly_detector, knn_classifier, naive_bayes_classifier, nearest_centroid_classifier, adaptive_boosting_classifier