cblearn: Comparison-based Machine Learning in Python
David-Elias Künstle, Ulrike von Luxburg · The Journal of Open Source Software · 2024
The cblearn package implements comparison-based machine learning algorithms and routines to process comparison-based data in Python.Comparison-based learning algorithms are used when only comparisons of similarity between data points are available, but no explicit similarity scores or features.For example, humans struggle to assign numeric similarities to apples, pears, and bananas.Still, they can easily compare the similarity of pears and apples with the similarity of apples and bananas-pears and apples usually appear more similar.There exist comparison-based algorithms for most machine learning tasks, like clustering, regression, or classification (e.g.,