Commit Graph

436 Commits

Author SHA1 Message Date
Arkadiusz Kondas
1a856c9099
Fix division by zero in ANOVA for small size dataset (#391) 2019-06-22 22:54:47 +02:00
Arkadiusz Kondas
4590d5cc32
Implement OneHotEncoder (#384) 2019-05-15 08:00:46 +02:00
Arkadiusz Kondas
3baf1520e3
Update dependencies and phpstan (#383) 2019-05-14 22:43:08 +02:00
Arkadiusz Kondas
b500f0b648
Implement FeatureUnion 🚀 (#382) 2019-05-14 21:26:25 +02:00
Arkadiusz Kondas
ff118eb2ba
Implement LambdaTransformer (#381) 2019-05-13 22:10:34 +02:00
Arkadiusz Kondas
c1c9873bf1
Add Andrew to license (#380) 2019-05-13 20:12:42 +02:00
Arkadiusz Kondas
417174d143
Implement ColumnFilter preprocessor (#378) 2019-05-12 22:41:31 +02:00
Arkadiusz Kondas
717f236ca9
Implement NumberConverter (#377) 2019-05-12 22:25:17 +02:00
Arkadiusz Kondas
1e1d794655
Fix DecisionTreeRegressor for big dataset (#376) 2019-05-12 21:27:21 +02:00
Arkadiusz Kondas
91812f4c4a
Implement DecisionTreeRegressor (#375) 2019-05-12 20:04:39 +02:00
Arkadiusz Kondas
8544cf7083
Implement regression metrics (#373) 2019-05-10 23:10:05 +02:00
Arkadiusz Kondas
f6aa1a59b0
Remove phpunit readAttributes deprecated methods (#372) 2019-04-12 07:49:30 +02:00
Marcin Michalski
db82afa263 Update to phpunit 8 and bump min php to 7.2 (#367)
* Update to phpunit 8

* Require at least PHP 7.2
2019-04-10 20:42:59 +02:00
KenorFR
cefb4fc7a7 Ngram word (#370)
* Add NGramWordTokenizer

* Update doc
Add test
Check coding standards
2019-04-05 21:23:09 +02:00
Arkadiusz Kondas
dbbce0e066
Implement LabelEncoder (#369) 2019-04-02 11:07:00 +02:00
Marcin Michalski
d3888efa7a Update phpstan & easy coding standard (#366) 2019-03-25 14:55:14 +01:00
Arkadiusz Kondas
5e02b893e9
Fix FilesDataset arrays and TokenCountVectorizer numeric token (#363) 2019-03-20 23:22:45 +01:00
Pol Dellaiera
02dab41830 Provide a new NGramTokenizer with minGram and maxGram support (#350)
* Issue #349: Provide a new NGramTokenizer.

* Issue #349: Add tests.

* Fixes from code review.

* Implement NGramTokenizer with min and max gram support

* Add missing tests for ngram

* Add info about NGramTokenizer to docs and readme

* Add performance test for tokenization
2019-02-15 17:31:10 +01:00
Pol Dellaiera
b3fe9dae1e Issue #355: Add a .editorconfig file. (#356) 2019-02-10 08:08:35 +01:00
Pol Dellaiera
40f1ca06aa Issue #351: Replace pow() and sqrt() with double stars notation. (#352) 2019-02-08 22:24:02 +01:00
Pol Dellaiera
4b837fae8e Improve distance performance and reduce duplication in distance classes. (#348)
* Issue #347: Reduce duplicated code.

* Issue #347: Replace array_* with regular loops for better perfomance.
2019-02-06 08:00:17 +01:00
Arkadiusz Kondas
6844cf407a
Fix typo in naive bayes docs 2019-01-23 09:41:44 +01:00
Arkadiusz Kondas
cc8e1b3753
Update phpunit to 7.5.1 and remove osx build from travis (#335)
* Update phpunit to 7.5.1

* Remove osx build from travis
2018-12-18 07:53:32 +01:00
Arkadiusz Kondas
1934d8af81
Update dependencies and fix code styles (#334) 2018-12-12 21:56:44 +01:00
Arkadiusz Kondas
db95db3e57
Implement Keep a changelog format 2018-11-07 19:40:31 +01:00
Arkadiusz Kondas
e5189dfe17
Remove enforceTimeLimit flag from phpunit and update dependencies (#328) 2018-11-07 17:58:40 +01:00
Arkadiusz Kondas
d30c212f3b
Check if feature exist when predict target in NaiveBayes (#327)
* Check if feature exist when predict target in NaiveBayes

* Fix typo
2018-11-07 09:39:51 +01:00
Arkadiusz Kondas
18c36b971f
Mnist Dataset (#326)
* Implement MnistDataset

* Add MNIST dataset documentation
2018-11-07 08:02:56 +01:00
Andrey Bolonin
8ac013b2e4 Add PHP 7.3 to Travis CI build (#322)
* Update .travis.yml

* remove coverage-clover for 7.2

* move coverage-clover to 7.2
2018-11-03 11:48:08 +01:00
Marcin Michalski
f2dd40cb6f Properly check cluster points label (#323) 2018-10-29 20:04:06 +01:00
Marcin Michalski
53c5a6b9e5 Update phpstan to 0.10.5 (#320) 2018-10-28 07:44:52 +01:00
Arkadiusz Kondas
d9b85e841f
Update dependencies (#319) 2018-10-22 09:06:20 +02:00
Marcin Michalski
0beb407b16 Update easy coding standard to ^5.1 (#317) 2018-10-16 21:42:06 +02:00
Marcin Michalski
9c9705a32c Update changelog (#316) 2018-10-16 19:35:38 +02:00
Marcin Michalski
d29c5906df Return labels in MultilayerPerceptron output (#315) 2018-10-15 19:47:42 +02:00
Arkadiusz Kondas
e255369636
Fix Imputer docs and check if train data was set (#314)
* Update docs for Imputer class

* Throw exception when trying to transform imputer without train data

* Update changelog
2018-10-10 21:36:18 +02:00
Arkadiusz Kondas
15adf9e252
Update build status badge from travis-ci 2018-07-31 23:28:29 +02:00
Arkadiusz Kondas
8fdb3d11fc
Make SVM non-locale aware (#288) 2018-07-04 23:42:22 +02:00
Marcin Michalski
4a3194fd90 Add .gitattributes (#287) 2018-06-25 23:19:13 +02:00
Yuji Uchiyama
ab22cc5b68 Change the default kernel type in SVC to Kernel::RBF (#267)
* Change the default kernel type in SVC to Kernel::RBF

* Update CHANGELOG.md
2018-06-20 23:28:11 +02:00
Tomáš Votruba
46fa2c2cca Update to EasyCodingStandard 4 (#273)
* update ECS config to v4

* composer: require Symplify 4

* apply coding-standard: use constants over functions, protected setUp() in tests, array indentation

* ecs: add false positive case

* composer: update lock

* bump to ECS 4.4

* update composer.lock

* shorten ECS config name

* ecs: ignore assignments in while()

* fix cs
2018-06-15 07:57:45 +02:00
Arkadiusz Kondas
31604ce792
Update osx build for travis (#281)
* Update osx build for travis

* Try something more with this os

* This gonna be hard ...

* Cleanup travis build even more
2018-06-14 07:53:33 +02:00
Yuji Uchiyama
59e69fdb63 Update CHANGELOG.md (#269) 2018-03-28 07:38:22 +02:00
Yuji Uchiyama
8b0d12c219 Fix SVR documentation (#265) 2018-03-20 17:25:25 +01:00
Arkadiusz Kondas
a36fe086d3
Add performance test for LeastSquares (#263)
* Install phpbench 🚀

* Add first benchmark for LeastSquares

* Update README and CONTRIBUTING guide

* Fix typo
2018-03-10 21:48:16 +01:00
Ivana Momcilovic
af2d732194 KMeans associative clustering (#262)
* KMeans associative clustering added

* fix travis error

* KMeans will return provided keys as point label if they are provided

* fix travis

* fix travis
2018-03-08 22:27:16 +01:00
Mustafa Karabulut
0d80c78c57 Micro optimization for matrix multiplication (#255)
* Micro optimization for matrix multiplication

* code cs fix

* added a comment block for the change
2018-03-08 19:19:09 +01:00
Marcin Michalski
e156076539 Add DecisionTreeLeaf.getNodeImpurityDecrease test (#261) 2018-03-07 23:16:25 +01:00
Yuji Uchiyama
66ca874062 Throw proper exception (#259)
* Throw proper exception

* Fix coding style
2018-03-06 23:26:36 +01:00
Marcin Michalski
a40c50b48b Add Optimizer tests and remove initialTheta (#252)
* Add  Optimizer tests

* Remove Optimizer.initialTheta and rename Optimizer.setInitialTheta to setTheta
2018-03-04 22:44:22 +01:00