Tensor
statistics
Our great sponsors
Tensor | statistics | |
---|---|---|
2 | 1 | |
82 | 354 | |
- | 2.0% | |
0.0 | 7.6 | |
almost 3 years ago | about 1 month ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Tensor
-
Machine Learning with PHP? Challenge accepted!
There's nothing stopping PHP using the GPU other than nobody having written bindings to the appropriate libraries. Compare https://github.com/RubixML/Tensor for example, which provides bindings to LAPACK and OpenBLAS and will already provide a massive speed boost for linear algebra operations. They aren't GPU accelerated, but all* that's needed is a similar extension with (e.g.) cuBLAS bindings.
-
Phalcon Roadmap
Note that this particular technique has been used by our friends at RubixML and it works just fine.
statistics
-
Statistics with PHP
php use HiFolks\Statistics\Statistics; $s = Statistics::make( [98, 90, 70,18,92,92,55,83,45,95,88,76] ); $a = $s->frequencies(); print_r($a); /* Array ( [18] => 1 [45] => 1 [55] => 1 [70] => 1 [76] => 1 [83] => 1 [88] => 1 [90] => 1 [92] => 2 [95] => 1 [98] => 1 ) */ $a = $s->relativeFrequencies(); print_r($a); /* Array ( [18] => 8.3333333333333 [45] => 8.3333333333333 [55] => 8.3333333333333 [70] => 8.3333333333333 [76] => 8.3333333333333 [83] => 8.3333333333333 [88] => 8.3333333333333 [90] => 8.3333333333333 [92] => 16.666666666667 [95] => 8.3333333333333 [98] => 8.3333333333333 ) */ ## What's next If you have some suggestion to improve the code , or you want to add some new functions or request a new feature, feel free to open a new issues here: https://github.com/Hi-Folks/statistics/issues ### Todo list: I'm going to implement and add clasess/methods for: - [ ] covariance and correlation - [ ] normal distributions Follow me on Twitter: https://twitter.com/RmeetsH
What are some alternatives?
phpsci-carray - [ARCHIVED] PHP library for scientific computing powered by C. See https://github.com/NumPower/numpower
laravel-stats - 📈 Get insights about your Laravel or Lumen Project
Math PHP - Powerful modern math library for PHP: Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra
laravel-time-series - ⏰📊✨Laravel Time Series - Provides an API to create and maintain data projections (statistics, aggregates, etc.) from your Eloquent models, and convert them to time series.
Zephir - Zephir is a compiled high-level language aimed to ease the creation of C-extensions for PHP
JOLI.jl - Julia Operators LIbrary
Fermat - A library providing math and statistics operations for numbers of arbitrary size.
genetic-algorithm - A simple framework for building and solving genetic algorithms
Pest - Pest is an elegant PHP testing Framework with a focus on simplicity, meticulously designed to bring back the joy of testing in PHP.
finnmath - Mathematical library
Phalcon - High performance, full-stack PHP framework delivered as a C extension.