PHP Classes

PHP Nearest Neighbor: Find nearest neighbor of a set of location points

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2014-06-11 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 309 This week: 1All time: 7,203 This week: 307Up
Version License PHP version Categories
nearest-neighbor 1.0.4BSD License3.0Algorithms, Graphics, Geography
Description Author

This package can find nearest neighbor of a set of location points.

It takes a set of geographic points given their latitude and longitude and it determine the nearest neighbor of another given point.

It can also generate an image that visualizes that renders the points and the areas they form as triangles.


PHP k-means Algorithm Data Miner
I need to segments all object into appropriate number of cluster

Innovation Award
PHP Programming Innovation award nominee
June 2014
Number 3

Prize: One copy of the Zend Studio
Certain geographic problems need to determine what is the closest point from other locations.

This class can find what is the nearest neighbor point of a set of geographic locations from a given point.

Manuel Lemos
  Performance   Level  
Name: Chi Hoang <contact>
Classes: 28 packages by
Country: Viet Nam Viet Nam
Age: 35
All time rank: 3762 in Viet Nam Viet Nam
Week rank: 30 Up1 in Viet Nam Viet Nam Up
Innovation award
Innovation award
Nominee: 22x

Winner: 3x


  • cluster6
  • cluster7
  • cluster5
  • cluster4
  • cluster2
  • cluster3
  • cluster1
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example
Plain text file main.php Class main class

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:7,203
This week:307Up

For more information send a message to info at phpclasses dot org.