php-ml/src/Phpml/Math
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
..
Distance refactor kmeans init methods 2016-05-02 23:36:58 +02:00
Kernel linear regression is also hard 2016-04-25 22:55:34 +02:00
Statistic implement Median and MostFrequent strategy for imputer 2016-05-08 19:33:39 +02:00
Distance.php extract Math namespace 2016-04-20 23:56:33 +02:00
Kernel.php linear regression is also hard 2016-04-25 22:55:34 +02:00
Matrix.php extract functions from loops and remove unused code 2016-08-02 13:23:58 +02:00
Product.php For each body should be wrapped in an if statement (#14) 2016-07-26 08:14:57 +02:00
Set.php Add new class Set for simple Set-theoretical operations 2016-09-10 13:24:43 +02:00