Commit Graph

26 Commits

Author SHA1 Message Date
Arkadiusz Kondas
6d11116994 Fix default prameters values 2016-12-06 08:55:52 +01:00
Arkadiusz Kondas
a61704501d Fix type compatibility for Minkowski distance 2016-12-06 08:48:45 +01:00
Arkadiusz Kondas
cbdc049526 Update php-cs-fixer 2016-11-20 22:53:17 +01:00
Arkadiusz Kondas
1ce6bb544b Run php-cs-fixer 2016-09-21 21:51:19 +02:00
Patrick Florek
fa87eca375 Add new class Set for simple Set-theoretical operations
### Features

* Works only with primitive types int, float, string
* Implements set theortic operations union, intersection, complement
* Modifies set by adding, removing elements
* Implements \IteratorAggregate for use in loops

### Implementation details

Based on array functions:
* array_diff,
* array_merge,
* array_intersection,
* array_unique,
* array_values,
* sort.

### Drawbacks

* **Do not work with objects.**
* Power set and Cartesian product returning array of Set
2016-09-10 13:24:43 +02:00
Arkadiusz Kondas
f186aa9c0b extract functions from loops and remove unused code 2016-08-02 13:23:58 +02:00
Pablo Joán Iglesias
bbbf5cfc9d For each body should be wrapped in an if statement (#14)
unit test to go with commit
2016-07-26 08:14:57 +02:00
Arkadiusz Kondas
65cdfe64b2 implement Median and MostFrequent strategy for imputer 2016-05-08 19:33:39 +02:00
Arkadiusz Kondas
a761d0e8f2 mode (dominant) from numbers 2016-05-08 19:23:54 +02:00
Arkadiusz Kondas
ed1e07e803 median function in statistic 2016-05-08 19:12:39 +02:00
Arkadiusz Kondas
5c67cfaeef refactor kmeans init methods 2016-05-02 23:36:58 +02:00
Arkadiusz Kondas
56114d99ce fix param casting for hhvm compatibility 2016-05-02 23:06:17 +02:00
Arkadiusz Kondas
650e7dd20d simply getDeterminant method 2016-04-30 23:54:05 +02:00
Arkadiusz Kondas
2952557028 improve matrix inverse 2016-04-30 23:47:35 +02:00
Arkadiusz Kondas
ff79de7e14 better arguments format for regression 2016-04-30 13:54:01 +02:00
Arkadiusz Kondas
633974fea0 php-cs-fxier 2016-04-30 00:59:10 +02:00
Arkadiusz Kondas
60c796f5d9 create matrix calculation for ls regression for multiple variable 2016-04-30 00:58:54 +02:00
Arkadiusz Kondas
52cbda0482 replace mean calls 2016-04-27 23:57:05 +02:00
Arkadiusz Kondas
80a712e8a8 implement Least Squares Regression 2016-04-27 23:51:14 +02:00
Arkadiusz Kondas
cbec77d247 pearson correlation function 2016-04-27 23:28:01 +02:00
Arkadiusz Kondas
66dcfcf2b7 implement standard deviation of population function 2016-04-27 23:04:59 +02:00
Arkadiusz Kondas
af3b57692f linear regression is also hard 2016-04-25 22:55:34 +02:00
Arkadiusz Kondas
37782eba98 implement RBF kernel function 2016-04-21 22:54:38 +02:00
Arkadiusz Kondas
b30f4cbf11 make scalar function static 2016-04-21 22:12:45 +02:00
Arkadiusz Kondas
34281e40ee add scalar product function 2016-04-21 00:23:03 +02:00
Arkadiusz Kondas
9330785a6f extract Math namespace 2016-04-20 23:56:33 +02:00