Pith. sign in

REVIEW 1 cited by

Using Enriched Category Theory to Construct the Nearest Neighbour Classification Algorithm

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2312.16529 v2 pith:WZ2U4NQT submitted 2023-12-27 cs.LG math.CT

classification cs.LGmath.CT
keywords algorithmcategoryconstructionenrichednearesttheoryclassificationneighbours
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
abstract

This paper is the first to construct and motivate a Machine Learning algorithm solely with Enriched Category Theory, supplementing evidence that Category Theory can provide valuable insights into the construction and explainability of Machine Learning algorithms. It is shown that a series of reasonable assumptions about a dataset lead to the construction of the Nearest Neighbours Algorithm. This construction is produced as an extension of the original dataset using profunctors in the category of Lawvere metric spaces, leading to a definition of an Enriched Nearest Neighbours Algorithm, which, consequently, also produces an enriched form of the Voronoi diagram. Further investigation of the generalisations this construction induces demonstrates how the $k$ Nearest Neighbours Algorithm may also be produced. Moreover, how the new construction allows metrics on the classification labels to inform the outputs of the Enriched Nearest Neighbour Algorithm: Enabling soft classification boundaries and dependent classifications. This paper is intended to be accessible without any knowledge of Category Theory.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Transparent Semantic Spaces: A Categorical Approach to Explainable Word Embeddings

    cs.AI 2025-08 reject novelty 4.0 of 10

    Claims that GloVe and Word2Vec embeddings are equivalent to metric MDS, but an explicit definitional choice makes the equivalence circular.

Pith tools