object

# `kmodes_clusterer`

k-Modes clusterer for discrete datasets. Learns from a dataset object implementing the `clustering_dataset_protocol` protocol and returns a clusterer term that can be used for assigning new instances to clusters and exported as predicate clauses.

Availability:
`logtalk_load(kmodes_clusterer(loader))`
Author: Paulo Moura
Version: 1:0:0
Date: 2026-05-06
Compilation flags:
`static, context_switching_calls`
Imports:
`public` clusterer_common
Uses:
format
list
pairs
type
Remarks:
(none)
Inherited public predicates:
check_clusterer/1 check_option/1 check_options/1 cluster/3 clusterer_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 print_clusterer/1 valid_clusterer/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

clusterer_protocol, clustering_dataset_protocol, kprototypes_clusterer