carbocation / statistics-bundle
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 2
Open Issues: 0
pkg:composer/carbocation/statistics-bundle
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-10-25 20:04:42 UTC
README
This is a pure PHP library that implements multivariate linear regression using linear algebra. The Moore-Penrose pseudoinverse is used in the computation of the coefficient matrix. The original regression and matrix libraries were written by Shankar Manamalkav, and the original files can be found on his blog. It has been adapted as a Symfony2 bundle by James Pirruccello.
This bundle is covered by the MIT license. For details, see the license.
Symfony2 Installation
This bundle can be used as a standalone package for PHP 5.3+. It can also be used as a Symfony2 bundle. To do so, follow these instructions (for the 2.0.x branch):
- 
Add this bundle to your depsfile:[CarbocationRegressionBundle] git=git://github.com/carbocation/CarbocationStatisticsBundle.git target=/bundles/Carbocation/StatisticsBundleThen run bin/vendors install.
- 
Register the Carbocationnamespace in theapp/autoload.phpfile:$loader->registerNamespaces(array( // ... 'Carbocation' => __DIR__.'/../vendor/bundles', ));
- 
Register the bundle in the app/AppKernel.phpfile:public function registerBundles() { $bundles = array( // ... new Carbocation\StatisticsBundle\CarbocationStatisticsBundle(), ); }