Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Looking for Jenks Optimization - Data Classification

I'm looking for an implementation of the Jenks Optimization algorithm for data classification.

Jenks is used to find "natural breaks" in the data.

I want to create kml maps for the US and color each county based on this algorithm.

I'm using php, but can figure out other languages as well.

like image 667
Aaron Kreider Avatar asked Jan 23 '26 10:01

Aaron Kreider


1 Answers

Here you go in python

http://danieljlewis.org/2010/06/07/jenks-natural-breaks-algorithm-in-python/

like image 63
TheSteve0 Avatar answered Jan 25 '26 00:01

TheSteve0



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!