knn-java-library
Simple K-Nearest Neighbors algorithm implementation in Java with various similarity measures.
- Status
- UnmaintainedNo commits in 3646 days.
- Last checked
- Checked · Nov 29, 2026
- License
- Open source
- Pricing
- Free tier · from $0
What it is
A straightforward Java library for implementing the K-Nearest Neighbors algorithm, offering a variety of similarity measures to suit different use cases. It is useful for developers and data scientists looking for an easy-to-use KNN solution in their Java projects.
knn-java-library stands out as a lightweight, easy-to-integrate solution for implementing the K-Nearest Neighbors algorithm in Java projects, focusing on simplicity and ease of use.
Maintenance status
Unmaintained
Evidence: No commits in 3646 days.
Read from github.com/felipexw/knn-java-library ↗ · last commit Aug 31, 2016 · repository read Nov 29, 2026
Last checked Nov 29, 2026 by an automated check of its repository, package or website.
When it fits — and when it doesn’t
A good fit for
Java developers who need a straightforward KNN implementation for their projects
Data scientists working on classification or clustering tasks in Java environments
Projects requiring easy integration of machine learning algorithms without complex setup
Look elsewhere if
Developers looking for advanced features beyond basic KNN functionality
Projects that require real-time processing and cannot afford the overhead of additional similarity measures
Known weaknesses
Each one links to the public issue, changelog or docs page it came from, where we have one.
- 01
Limited scalability for large datasets
Performance degrades significantly with larger input sizes due to lack of optimizations such as indexing or parallel processing.
- 02
Small community and limited support
Low activity on GitHub, few contributors, and minimal documentation updates over time.
- 03
No built-in support for high-dimensional data
The library does not include optimizations or methods specifically designed to handle the curse of dimensionality common in high-dimensional spaces.
- 04
Lack of advanced feature engineering capabilities
Users must implement their own preprocessing steps and feature transformations, which can be cumbersome for complex use cases.
What it does well
Simple implementation of the K-Nearest Neighbors algorithm
Support for various similarity measures
Easy integration into Java projects
Pricing
- Free tier
- YesOpen source — free to use
- Paid from
- $0
- Model
- Flat rate
- Enterprise plan
- No
Pricing not independently confirmed — check the vendor’s page.
Set up knn-java-library
No step-by-step guide on file yet — the setup page points to the official docs and sign-up.
Get the badge
A small badge for knn-java-library’s README or site: its name, “Tracked on AI Navigator”, and the availability status and check month from this page. It updates as the catalog does.
Markdown
[](https://navigateaitools.com/explorer/tool/knn-java-library)HTML
<a href="https://navigateaitools.com/explorer/tool/knn-java-library"><img src="https://navigateaitools.com/badge/knn-java-library.svg" alt="knn-java-library — tracked on AI Navigator" height="58"></a>