probabilistic_classifier_protocol — Logtalk 3.100.1

protocol

# `probabilistic_classifier_protocol`

Protocol for classifiers that can estimate class probabilities.

Availability:
`logtalk_load(classification_protocols(loader))`
Author: Paulo Moura
Version: 1:0:0
Date: 2026-05-11
Compilation flags:
`static`
Extends:
`public` classifier_protocol
Remarks:
(none)
Inherited public predicates:
check_classifier/1 classifier_options/2 diagnostic/2 diagnostics/2 export_to_clauses/4 export_to_file/4 learn/2 learn/3 predict/3 print_classifier/1 valid_classifier/1

## Public predicates

### `predict_probabilities/3`

Predicts class probabilities for a new instance using the learned classifier. The instance is a list of `Attribute-Value` pairs.

Compilation flags:
`static`
Template:
`predict_probabilities(Classifier,Instance,Probabilities)`
Mode and number of proofs:
`predict_probabilities(+compound,+list,-list)` - `one`

## Protected predicates

(no local declarations; see entity ancestors if any)

## Private predicates

(no local declarations; see entity ancestors if any)

## Operators

(none)

See also

classifier_protocol, adaptive_boosting_classifier, gradient_boosting_classifier, kernel_svm_classifier, knn_classifier, logistic_regression_classifier, naive_bayes_classifier, nearest_centroid_classifier, random_forest_classifier, sgd_classifier