Skip to content

Feat: Add K-Nearest Neighbors (KNN) classification algorithm (#7562) #16388

Feat: Add K-Nearest Neighbors (KNN) classification algorithm (#7562)

Feat: Add K-Nearest Neighbors (KNN) classification algorithm (#7562) #16388

Triggered via pull request August 6, 2026 15:53
Status Failure
Total duration 31m 26s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
build
Process completed with exit code 1.
build: src/main/java/com/thealgorithms/machinelearning/KNN.java#L23
(modifier) RedundantModifier: Redundant 'public' modifier.
build: src/main/java/com/thealgorithms/machinelearning/KNN.java#L8
(design) HideUtilityClassConstructor: Utility classes should not have a public or default constructor.