Processing library that performs linear classification and prediction on data of 2 or more dimensions.
Java Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
distribution/LinearClassifier-1
examples
lib
resources
src/linearclassifier
web
.gitignore
license.txt
readme.md

readme.md

LinearClassifier

This library implements linear classification for numerical data. It accepts two labeled data sets, each element of which can contain two or more floats as data. Once trained, LinearClassifier can predict which of the two original sets any new piece of test data will fall into. LinearClassifier also includes tools for displaying data in the 2D case. See the 2D example for details.

LinearClassifier in action in 2D:

Linear Classifier in Processing

LinearClassifier in a matchmkaing example using many dimensions including age, physical proximity, and interests:

LinearClassifier matchmaking on 8 dimensions in Processing

LinearClassifier is based on examples in Chapter 9 of Programming Collective by Toby Segaran.

See Makematics for more.