Commit Graph

423 Commits

Author SHA1 Message Date
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
Marcin Michalski
55749c7c92 Add Cluster tests (#254) 2018-03-04 17:06:46 +01:00
Marcin Michalski
33efab20a5 Add LUDecomposition triangular factor tests (#253) 2018-03-04 17:05:25 +01:00
Marcin Michalski
941d240ab6 Add RandomForest exception tests (#251) 2018-03-04 17:02:36 +01:00
Arkadiusz Kondas
8976047cbc
Add removeColumns function to ArrayDataset (#249)
* Add removeColumns function to ArrayDataset

* Add removeColumns to docs

* Fix cs
2018-03-03 16:04:21 +01:00
Yuji Uchiyama
cbd9f5fde1 Inline static constructors of exceptions (#250) 2018-03-03 16:03:53 +01:00
Yuji Uchiyama
af9ccfe722 Add tests for LogisticRegression (#248) 2018-03-03 11:19:58 +01:00
Yuji Uchiyama
9c195559df Update apriori documentation (#245)
* Fix a wrong word

* More precise description about support and confidence
2018-02-27 18:50:07 +01:00
Arkadiusz Kondas
d188790276
Add MLP partial train test after restore from file (#243) 2018-02-26 00:02:04 +01:00
Marcin Michalski
9e375ca544 Ensure DataTransformer::testSet samples array is not empty (#204) 2018-02-25 22:56:36 +01:00
Yuji Uchiyama
4562f1dfc9 Add a SvmDataset class for SVM-Light (or LibSVM) format files (#237)
* Add data loader for svm format

* Add tests for error cases

* Set proper exception messages

* Add documents

* Add error checking code for invalid column format

* Add missing documents
2018-02-24 11:17:35 +01:00
Arkadiusz Kondas
a96f03e8dd
Fix Optimizer initial theta randomization (#239)
* Fix Optimizer initial theta randomization

* Add more tests for LUDecomposition and FuzzyCMeans
2018-02-23 23:05:46 +01:00
Arkadiusz Kondas
83f3e8de70
Update CHANGELOG with #238 fix 2018-02-22 17:06:31 +01:00
Yuji Uchiyama
add00c6108 Fix apriori keys (#238)
* Add test to check keys of rules

* Reindex after array_filter/array_unique in Apriori
2018-02-22 17:02:55 +01:00