B4J Library jKMeans

This is a wrapper of this KMeans implementation: https://github.com/eugenp/tutorials...va/com/baeldung/algorithms/kmeans/KMeans.java

KMeans is an unsupervised machine learning algorithm.

I have used it to detect the dominants color of a image: Detect dominant colors of images

I used the built-in KMeans class in weka in this project. But since weka is GPL licensed, I cannot distribute it without open source my app. It should not be difficult to implement KMeans in B4X, but as I found the existing java code. I decided to make a wrapper.
 

Attachments

  • jKMeans.zip
    10.8 KB · Views: 408
  • src.zip
    8.9 KB · Views: 361
Top