You are looking at historical revision 21798 of this page. It may differ significantly from its current revision.


Some algorithms to develop classification models of data. This library uses dataset-utils; another classification algorithm is provided in libsvm.

Exported Procedures

The classifiers are constructed using a (build-X training-data target-class) procedure. Training data are a relation, as defined in dataset-utils, and target-class is the name of the attribute to be used for the target classification.

Generic procedures

[procedure] (classify-instance classifier instance)

Given a classifier and a data instance, returns a classification.

[procedure] (to-string classifier)

Given a classifier, returns a string representation of the classifier model.


A simple rule: always predicts the majority class of the training data.

[procedure] (build-zero-r training-data target-class)


Finds the attribute which best predicts the training data.

[procedure] (build-one-r training-data target-class)


Peter Lane.


GPL version 3.0.


Works with dataset-utils.

Version History

in progress.