Commit Graph

22 Commits

Author SHA1 Message Date
Mustafa Karabulut
a33d5fe9c8 RandomForest::getFeatureImportances() method (#47)
* RandomForest::getFeatureImportances() method

* CsvDataset update for column names
2017-02-13 21:23:18 +01:00
Mustafa Karabulut
1d73503958 Ensemble Classifiers : Bagging and RandomForest (#36)
* Fuzzy C-Means implementation

* Update FuzzyCMeans

* Rename FuzzyCMeans to FuzzyCMeans.php

* Update NaiveBayes.php

* Small fix applied to improve training performance

array_unique is replaced with array_count_values+array_keys which is way
faster

* Revert "Small fix applied to improve training performance"

This reverts commit c20253f16ac3e8c37d33ecaee28a87cc767e3b7f.

* Revert "Revert "Small fix applied to improve training performance""

This reverts commit ea10e136c4c11b71609ccdcaf9999067e4be473e.

* Revert "Small fix applied to improve training performance"

This reverts commit c20253f16ac3e8c37d33ecaee28a87cc767e3b7f.

* First DecisionTree implementation

* Revert "First DecisionTree implementation"

This reverts commit 4057a08679c26010c39040a48a3e6dad994a1a99.

* DecisionTree

* FCM Test

* FCM Test

* DecisionTree Test

* Ensemble classifiers: Bagging and RandomForests

* test

* Fixes for conflicted files

* Bagging and RandomForest ensemble algorithms

* Changed unit test

* Changed unit test

* Changed unit test

* Bagging and RandomForest ensemble algorithms

* Baggging and RandomForest ensemble algorithms

* Bagging and RandomForest ensemble algorithms

RandomForest algorithm is improved with changes to original DecisionTree

* Bagging and RandomForest ensemble algorithms

* Slight fix about use of global Exception class

* Fixed the error about wrong use of global Exception class

* RandomForest code formatting
2017-02-07 12:37:56 +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
Arkadiusz Kondas
c3686358b3 Add rules for new cs-fixer 2017-01-31 20:33:08 +01:00
Mustafa Karabulut
87396ebe58 DecisionTree and Fuzzy C Means classifiers (#35)
* Fuzzy C-Means implementation

* Update FuzzyCMeans

* Rename FuzzyCMeans to FuzzyCMeans.php

* Update NaiveBayes.php

* Small fix applied to improve training performance

array_unique is replaced with array_count_values+array_keys which is way
faster

* Revert "Small fix applied to improve training performance"

This reverts commit c20253f16ac3e8c37d33ecaee28a87cc767e3b7f.

* Revert "Revert "Small fix applied to improve training performance""

This reverts commit ea10e136c4c11b71609ccdcaf9999067e4be473e.

* Revert "Small fix applied to improve training performance"

This reverts commit c20253f16ac3e8c37d33ecaee28a87cc767e3b7f.

* DecisionTree

* FCM Test

* FCM Test

* DecisionTree Test
2017-01-31 20:27:15 +01:00
Arkadiusz Kondas
d19ddb8507 Apply cs fixes for NaiveBayes 2017-01-17 16:26:43 +01:00
Mustafa Karabulut
e603d60841 Update NaiveBayes.php (#30)
* Update NaiveBayes.php

* Update NaiveBayes.php

* Update NaiveBayes.php

Update to fix "predictSample" function to enable it handle samples given as multi-dimensional arrays.

* Update NaiveBayes.php

* Update NaiveBayes.php
2017-01-17 16:21:58 +01:00
Arkadiusz Kondas
cbdc049526 Update php-cs-fixer 2016-11-20 22:53:17 +01:00
Arkadiusz Kondas
adc2d1c81b change hhvm to 3.12 2016-07-07 23:38:11 +02:00
Arkadiusz Kondas
f3288c5946 fix scalar typehint for hhvm 2016-07-07 23:33:06 +02:00
Arkadiusz Kondas
be7693ff2e remove osx from travis - dont work with php 7.0 2016-06-30 23:27:17 +02:00
Arkadiusz Kondas
374182a6d4 simple pipeline test 2016-06-16 09:58:12 +02:00
Arkadiusz Kondas
cab79e7e36 change interfaces and add Estimator and Pipeline 2016-06-16 09:00:10 +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
95caef8692 start to implement SVM with libsvm 2016-05-05 23:29:11 +02:00
Arkadiusz Kondas
71400cc1e6 svm 2016-05-05 21:57:25 +02:00
Arkadiusz Kondas
24fc917d6a php-cs-fixer 2016-05-04 21:30:40 +02:00
Arkadiusz Kondas
791a54068b update composer 2016-05-04 21:29:26 +02:00
Arkadiusz Kondas
f7b91bea72 change Classifier namespace to Classification 2016-04-30 23:45:21 +02:00
Arkadiusz Kondas
040ae0fbb0 create Classifire interface 2016-02-09 07:45:07 +01:00
Arkadiusz Kondas
97e3f82c6e create first class :) 2016-02-08 23:20:08 +01:00