Skip to content

Commit

Permalink
Update changelog and cs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
akondas committed Feb 23, 2017
1 parent 4daa0a2 commit e8c6005
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@ CHANGELOG

This changelog references the relevant changes done in PHP-ML library.

* 0.3.1 (in plan/progress)
* feature [Regression] - SSE, SSTo, SSR - sum of the squared
* 0.4.0 (2017-02-23)
* feature [Classification] - Ensemble Classifiers : Bagging and RandomForest by Mustafa Karabulut
* feature [Classification] - RandomForest::getFeatureImportances() method by Mustafa Karabulut
* feature [Classification] - Linear classifiers: Perceptron, Adaline, DecisionStump by Mustafa Karabulut
* feature [Classification] - AdaBoost algorithm by Mustafa Karabulut
* bug [Math] - Check if matrix is singular doing inverse by Povilas Susinskas
* optimization - Euclidean optimization by Mustafa Karabulut

* 0.3.0 (2017-02-04)
* feature [Persistency] - ModelManager - save and restore trained models by David Monllaó
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ Example scripts are available in a separate repository [php-ai/php-ml-examples](
* Ensemble Algorithms
* Bagging (Bootstrap Aggregating)
* Random Forest
* AdaBoost
* Linear
* Adaline
* Decision Stump
* Perceptron
* Regression
* [Least Squares](http://php-ml.readthedocs.io/en/latest/machine-learning/regression/least-squares/)
* [SVR](http://php-ml.readthedocs.io/en/latest/machine-learning/regression/svr/)
Expand Down
2 changes: 1 addition & 1 deletion src/Phpml/Exception/MatrixException.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ public static function columnOutOfRange()
*/
public static function singularMatrix()
{
return new self('Matrix is singular');
return new self('Matrix is singular');
}
}
4 changes: 2 additions & 2 deletions tests/Phpml/Math/MatrixTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,13 @@ public function testThrowExceptionWhenInverseIfArrayIsNotSquare()
*/
public function testThrowExceptionWhenInverseIfMatrixIsSingular()
{
$matrix = new Matrix([
$matrix = new Matrix([
[0, 0, 0],
[0, 0, 0],
[0, 0, 0],
]);

$matrix->inverse();
$matrix->inverse();
}

public function testInverseMatrix()
Expand Down

0 comments on commit e8c6005

Please sign in to comment.