开发者

Looking for Jenks Optimization - Data Classification

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜