开发者

Looking for Jenks Optimization - Data Classification

开发者 https://www.devze.com 2023-03-21 22:41 出处:网络
I\'m looking for an implementation of the Jenks Optimization algorithm for data classification. Jenks is used开发者_Python百科 to find \"natural breaks\" in the data.

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

Jenks is used开发者_Python百科 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.


Here you go in python

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


Here You have PHP
https://github.com/randomdrake/jenks/blob/master/jenks.php

This is implementation of Jenks algorithm.
David Drake made these functions and integrated it with Google API.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号