羰基阳离子/统计包

该包最新版本(dev-master)没有可用的许可信息。

dev-master 2012-12-01 07:02 UTC

This package is not auto-updated.

Last update: 2024-09-28 15:00:12 UTC


README

这是一个纯PHP库,使用线性代数实现多元线性回归。系数矩阵的计算使用了Moore-Penrose伪逆。原始回归和矩阵库是由Shankar Manamalkav编写的,原始文件可以在他的博客上找到。它已被James Pirruccello改编为Symfony2包。

此包受MIT许可证的覆盖。详情请查看许可证

Symfony2安装

此包可以作为PHP 5.3+的独立包使用。它也可以作为Symfony2包使用。要这样做,请遵循以下说明(针对2.0.x分支)

  1. 将此包添加到您的deps文件中

    [CarbocationRegressionBundle]
        git=git://github.com/carbocation/CarbocationStatisticsBundle.git
        target=/bundles/Carbocation/StatisticsBundle
    

    然后运行bin/vendors install

  2. app/autoload.php文件中注册Carbocation命名空间

    $loader->registerNamespaces(array(
        // ...
        'Carbocation'      => __DIR__.'/../vendor/bundles',
    ));
    
  3. app/AppKernel.php文件中注册此包

    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Carbocation\StatisticsBundle\CarbocationStatisticsBundle(),
        );
    }