Commit Graph

23 Commits

Author SHA1 Message Date
Tomáš Votruba
726cf4cddf Added EasyCodingStandard + lots of code fixes (#156)
* travis: move coveralls here, decouple from package

* composer: use PSR4

* phpunit: simpler config

* travis: add ecs run

* composer: add ecs dev

* use standard vendor/bin directory for dependency bins, confuses with local bins and require gitignore handling

* ecs: add PSR2

* [cs] PSR2 spacing fixes

* [cs] PSR2 class name fix

* [cs] PHP7 fixes - return semicolon spaces, old rand functions, typehints

* [cs] fix less strict typehints

* fix typehints to make tests pass

* ecs: ignore typehint-less elements

* [cs] standardize arrays

* [cs] standardize docblock, remove unused comments

* [cs] use self where possible

* [cs] sort class elements, from public to private

* [cs] do not use yoda (found less yoda-cases, than non-yoda)

* space

* [cs] do not assign in condition

* [cs] use namespace imports if possible

* [cs] use ::class over strings

* [cs] fix defaults for arrays properties, properties and constants single spacing

* cleanup ecs comments

* [cs] use item per line in multi-items array

* missing line

* misc

* rebase
2017-11-22 22:16:10 +01:00
Tomáš Votruba
653c7c772d Upgrade to PHP 7.1 (#150)
* upgrade to PHP 7.1

* bump travis and composer to PHP 7.1

* fix tests
2017-11-14 21:21:23 +01:00
Tomáš Votruba
f4650c696c [coding standard] fix imports order and drop unused docs typehints (#145)
* fix imports order

* drop unused docs typehints, make use of return types where possible
2017-11-06 08:56:37 +01:00
Marcin Michalski
61d2b7d115 Ensure user-provided SupportVectorMachine paths are valid (#126) 2017-09-02 22:44:19 +02:00
Marcin Michalski
03751f51ed Speed up DataTransformer (#122) 2017-09-02 21:38:02 +02:00
Ante Lucic
07041ec608 Run newest php-cs-fixer (#108) 2017-07-26 08:24:47 +02:00
Marcin Michalski
7ab80b6e56 Code Style (#86)
* Code Style

* Code Review fixes
2017-05-17 09:03:25 +02:00
Humberto Castelo Branco
43f15d2f7e New methods: setBinPath, setVarPath in SupportVectorMachine (#73)
* new methods: setBinPath, setVarPath

* fix whitespaces and breaklines
2017-05-13 12:58:06 +02:00
Arkadiusz Kondas
6296e44db0 cs fixer 2017-04-19 22:28:07 +02:00
Kyle Warren
c44f3b2730 Additional training for SVR (#59)
* additional training SVR

* additional training SVR, missed old labels reference

* SVM labels parameter now targets

* SVM member labels now targets

* SVM init targets empty array
2017-03-17 11:44:45 +01:00
Arkadiusz Kondas
fd85033339 Use __DIR__ instead of dirname 2016-12-12 18:45:14 +01:00
Arkadiusz Kondas
d00b7e5668 Secure uniqid usage 2016-12-06 08:50:18 +01:00
Arkadiusz Kondas
cbdc049526 Update php-cs-fixer 2016-11-20 22:53:17 +01:00
Arkadiusz Kondas
a2aa27adba fix problem in SVM with path on windows 2016-07-04 22:22:22 +02:00
Arkadiusz Kondas
9507d58a80 add support for osx 2016-07-01 22:25:57 +02:00
Arkadiusz Kondas
430c1078cf implement support vector regression 2016-05-07 23:04:58 +02:00
Arkadiusz Kondas
c409658483 support vector classifier implementation 2016-05-07 22:17:12 +02:00
Arkadiusz Kondas
6cf6c5e768 add multi class svm test 2016-05-07 14:08:09 +02:00
Arkadiusz Kondas
95bfc890cd add windows libsvm binaries 2016-05-07 11:22:37 +02:00
Arkadiusz Kondas
7b5b6418f4 libsvm predict program implementation 2016-05-06 22:55:41 +02:00
Arkadiusz Kondas
dfb7b6b108 datatransformer test set 2016-05-06 22:38:50 +02:00
Arkadiusz Kondas
4ac2ac8a35 fix index for trainging set 2016-05-06 22:33:04 +02:00
Arkadiusz Kondas
95caef8692 start to implement SVM with libsvm 2016-05-05 23:29:11 +02:00