Commit Graph

35 Commits

Author SHA1 Message Date
David Monllaó
4af8449b1c Neural networks improvements (#89)
* MultilayerPerceptron interface changes

- Signature closer to other algorithms
- New predict method
- Remove desired error
- Move maxIterations to constructor

* MLP tests for multiple hidden layers and multi-class

* Update all MLP-related tests

* coding style fixes

* Backpropagation included in multilayer-perceptron
2017-05-18 00:07:14 +02:00
David Monllaó
c0463ae087 Fix wrong docs references (#79) 2017-04-13 21:34:55 +02:00
Bill Nunney
8be19567a2 Update imputation example to use transform method (#57) 2017-03-09 20:41:15 +01:00
David Monllaó
8f122fde90 Persistence class to save and restore models (#37)
* Models manager with save/restore capabilities

* Refactoring dataset exceptions

* Persistency layer docs

* New tests for serializable estimators

* ModelManager static methods to instance methods
2017-02-02 09:03:09 +01:00
David Monllaó
c1b1a5d6ac Support for multiple training datasets (#38)
* Multiple training data sets allowed

* Tests with multiple training data sets

* Updating docs according to #38

Documenting all models which predictions will be based on all
training data provided.

Some models already supported multiple training data sets.
2017-02-01 19:06:38 +01:00
Robert Boloc
aace5ff022 Fix documentation links 2017-01-05 20:37:48 +00:00
Ken Seah
8a0a9f09e2 Update array-dataset.md
Method has already changed name to getTargets() instead of getLabels()
2016-11-04 00:03:49 +11:00
Patrick Florek
1ff455ebed Add index entries 2016-09-17 22:06:13 +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
Patrick Florek
90038befa9 Apply comments / coding styles
* Remove user-specific gitignore
* Add return type hints
* Avoid global namespace in docs
* Rename rules -> getRules
* Split up rule generation

Todo:
* Move set theory out to math
* Extract rule generation
2016-09-02 00:26:01 +02:00
Patrick Florek
c8bd8db601 # Association rule learning - Apriori algorithm
* Generating frequent k-length item sets
* Generating rules based on frequent item sets
* Algorithm has exponential complexity, be aware of it
* Apriori algorithm is split into apriori and candidates method
* Second step rule generation is implemented by rules method
* Internal methods are invoked for fine grain unit tests
* Wikipedia's train samples and an alternative are provided for test cases
* Small documentation for public interface is also shipped
2016-08-23 15:44:53 +02:00
Arkadiusz Kondas
3599367ce8 Add docs for neural network 2016-08-14 19:14:56 +02:00
Arkadiusz Kondas
2f5b090188 create contributing guide 2016-07-26 21:57:15 +02:00
Arkadiusz Kondas
6ed4761427 add examples link to readme 2016-07-24 13:35:13 +02:00
Arkadiusz Kondas
52cd58acb0 add info about minimum php version required 2016-07-20 09:15:52 +02:00
Arkadiusz Kondas
963cfea551 add ClassificationReport docs 2016-07-19 22:17:03 +02:00
Arkadiusz Kondas
76d15e9691 add php-ml logo 2016-07-17 00:31:47 +02:00
Arkadiusz Kondas
7abee3061a docs for files dataset and php-cs-fixer 2016-07-16 23:56:52 +02:00
Arkadiusz Kondas
7c0767c15a create docs for tf-idf transformer 2016-07-12 00:21:34 +02:00
Arkadiusz Kondas
ba8927459c add docs for ConfusionMatrix 2016-07-12 00:11:18 +02:00
Arkadiusz Kondas
bb35d045ba add docs for Pipeline 2016-07-12 00:00:17 +02:00
Arkadiusz Kondas
212be20fe7 create changelog 2016-07-11 21:12:49 +02:00
Arkadiusz Kondas
ee6ea3b850 create docs for StratifiedRandomSplit 2016-07-11 00:07:07 +02:00
Arkadiusz Kondas
d19490d62a update docs example 2016-05-31 18:02:30 +02:00
Arkadiusz Kondas
7ab1ae97de update readthedocs menu 2016-05-14 21:50:48 +02:00
Arkadiusz Kondas
325427c723 update missing docs 2016-05-14 21:30:13 +02:00
Arkadiusz Kondas
ccfa38ba4d wine and glass demo dataset docs 2016-05-10 23:44:28 +02:00
Arkadiusz Kondas
77647fda45 update readme 2016-05-09 23:52:09 +02:00
Arkadiusz Kondas
365a9baeca update docs 2016-05-07 23:53:42 +02:00
Arkadiusz Kondas
3fd5abf566 fix typo in code example 2016-05-02 14:10:49 +02:00
Arkadiusz Kondas
5950af6072 update and refactor documentation 2016-05-02 13:49:19 +02:00
Arkadiusz Kondas
d2e0ce446c update classifier docs 2016-04-16 21:41:37 +02:00
Arkadiusz Kondas
6f5f190600 docs for manhattan distance 2016-04-15 22:32:20 +02:00
Arkadiusz Kondas
50fbcddfc4 create docs for distance metrics functions 2016-04-13 21:20:55 +02:00
Arkadiusz Kondas
5be2147784 creat docs files 2016-04-09 00:36:48 +02:00