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
Arkadiusz Kondas
8aed3b9286
Prepare CHANGELOG for next fix release
2018-02-18 00:11:54 +01:00
Arkadiusz Kondas
0a15561352
Fix KMeans and EigenvalueDecomposition ( #235 )
...
* Fix kmeans cluster and eigenvalue decomposition
* Fix kmeans space
* Fix code style
2018-02-18 00:09:24 +01:00
Arkadiusz Kondas
797952e1bc
Prepare CHANGELOG.md for next release
2018-02-16 20:41:37 +01:00
Arkadiusz Kondas
16dc16b0d9
Add phpstan strict rules ( #233 )
...
* Add phpstan strict rules
* Fix travis coveralls
* Add phpstan-phpunit strict rules
* Fix eigen decomposition test name and phpstan ingored error
2018-02-16 07:25:24 +01:00
Marcin Michalski
6ac61a860c
Fix 'toSmall' typo ( #234 )
2018-02-15 18:14:06 +01:00
Arkadiusz Kondas
451f84c2e6
Add SelectKBest docs
2018-02-14 20:34:53 +01:00
Arkadiusz Kondas
83b1d7c9ac
Update coveralls phar
2018-02-14 20:34:53 +01:00
Arkadiusz Kondas
b4b190de7f
Fix pipeline transformers
2018-02-14 20:34:53 +01:00
Arkadiusz Kondas
998879b6fc
Switch SelectKBest constructor parameters
2018-02-14 20:34:53 +01:00
Arkadiusz Kondas
9e5b3a0c69
Implement first regression scoring function UnivariateLinearRegression
2018-02-14 20:34:53 +01:00
Arkadiusz Kondas
fbf84ca95f
Implement SelectKBest algo for feature selection
2018-02-14 20:34:53 +01:00
Arkadiusz Kondas
52c9ba8291
Fix: phpunit include tests path ( #230 )
...
* Fix phpunit include path
* Add tests for Covariance
2018-02-11 18:17:50 +01:00
Yuji Uchiyama
53f8a89556
Fix support of a rule in Apriori ( #229 )
...
* Clean up test code
* Add test to check support and confidence (failed due to a bug)
* Fix support value of rules
2018-02-11 12:42:46 +01:00
Arkadiusz Kondas
3ba35918a3
Implement VarianceThreshold - simple baseline approach to feature selection. ( #228 )
...
* Add sum of squares deviations
* Calculate population variance
* Add VarianceThreshold - feature selection transformer
* Add docs about VarianceThreshold
* Add missing code for pipeline usage
2018-02-10 18:07:09 +01:00
Andreas Möller
4b5d57fd6f
Enhancement: Flatten directory structure ( #220 )
2018-02-10 12:08:58 +01:00
Yuji Uchiyama
71cc633c8e
Fix apriori generates an empty array as a part of the frequent item sets ( #224 )
2018-02-07 10:02:38 +01:00
Yuji Uchiyama
ec091b5ea3
Support probability estimation in SVC ( #218 )
...
* Add test for svm model with probability estimation
* Extract buildPredictCommand method
* Fix test to use PHP_EOL
* Add predictProbability method (not completed)
* Add test for DataTransformer::predictions
* Fix SVM to use PHP_EOL
* Support probability estimation in SVM
* Add documentation
* Add InvalidOperationException class
* Throw InvalidOperationException before executing libsvm if probability estimation is not supported
2018-02-06 20:39:25 +01:00
Yuji Uchiyama
ed775fb232
Fix documentation of apriori ( #221 )
...
* Fix the return value of the single sample prediction
* Fix typo
2018-02-05 18:50:45 +01:00
Andreas Möller
84a49dbffe
Enhancement: Update phpunit/phpunit ( #219 )
2018-02-03 14:11:48 +01:00
Jonathan Baldie
c32bf3fe2b
Configure an Activation Function per hidden layer ( #208 )
...
* ability to specify per-layer activation function
* some tests for new addition to layer
* appease style CI whitespace issue
* more flexible addition of layers, and developer can pass Layer object in manually
* new test for layer object in mlp constructor
* documentation for added MLP functionality
2018-02-01 23:15:36 +01:00
Andreas Möller
8daed2484d
Enhancement: Cache dependencies installed with composer on Travis ( #215 )
2018-01-31 21:50:26 +01:00
Jonathan Baldie
e318921076
Fix string representation of integer labels issue in NaiveBayes ( #206 )
...
* Update NaiveBayes.php
This fixes an issue using string labels that are string representations of integers, e.g. "1998" getting cast to (int)1998.
* Update NaiveBayes.php
fixes superfluous whitespace error
* added tests for naive bayes with numeric labels
* added array_unique
* nested array_flips for speed
* nested the array flips inside the array map
* to appear style CI test
2018-01-31 21:44:44 +01:00
Arkadiusz Kondas
10070d97fd
Normalize composer.json with localheinz/json-normalizer ( #214 )
2018-01-31 20:06:51 +01:00