First thing, my apologies if this subject is not posted in the right forum section I'm new in this.
Currently im working in a project that involves analyzing data from some charts created with the information recorded with some LDR. The main challenge that im facing right now is to isolate or discriminate the data, filtering the information that I really need for the project, ie: all values equals or above 5 are valid and all values equals or lower to 3 are not, thats the idea. For that I want to use the k-means algorithm for clustering this data but I can't find it for Arduino which makes me think that I need to insert it manually in the code, so, I wanted to ask if there is some utility for Arduino that includes this algorithm so in the programming interfase I can call it like K-Means(....) or something similar?
Thanks for your time and disposition to help.