polygon is a set of PHP classes that can be used to perform different types of geometric operations with arbitary polygons. It provides generic polygon and vertex classes that support mixing lines and arc segments between vertices. Polygons may be self-intersecting, convex, or concave. It provides means to perform intersection and union operations with the shapes and to compute shape clipping.
PEAR::Services_Weather searches for given locations and retrieves current weather data and forecasts (depending on the used service). GlobalWeather from CapeScience, Weather XML from EJSE (US only), a XOAP service from Weather.com, and METAR/TAF from NOAA are supported. Further services will be included if they become available, have a usable API, and are properly documented.
Bayesian Spam Filter is a class that can be used to detect spam in text messages using Bayesian techniques. It analyzes the text in terms of n-grams in a way that is idiom independent. It can be trained to progressively distinguish what is spam and what is not spam by detecting patterns in training samples. Training data is stored in a MySQL database.
Numerical Algorithms is a class that performs several types of numerical and statistical functions. Currently, it generates Gaussian normal distributions, does numerical integration of arbitrary functions, generates random numbers with Gaussian distributions, provides a number of standard statistical functions, e.g. mean, standard deviation, variance, etc., has two different methods of solving for the roots of an equation (bisection and steepest descent), converts floating point to rational number representation (useful for infinite precision calculations), generates a Sieve of Erastophenes for a specified integer, and factors integers into their prime factors.
ClusterControl is a Web interface to simplify distributing and monitoring (bioinformatics) applications on Linux cluster systems. It is based on a modular concept that enables integration of command line oriented programs into the application framework of ClusterControl. The system enables integration of different applications accessed through one interface and executed on a distributed cluster system. It uses Apache, PHP, and OpenPBS or Sun Grid Engine.
Electowidget is a PHP library (initially a plugin for MediaWiki) designed to make it possible to conduct Internet polls and elections using many different voting systems, including the Schulze (Condorcet) method, instant runoff voting, approval voting, and even plain old plurality. It also assists in explaining different election methods by providing an easy way of tallying example elections and comparing the results as computed by different elections. The modular design allows for plugging in new election tallying methods, different ballot designs, and different ballot formats.