Skip to content

Commit

Permalink
Merge branch '1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdalpino committed Jun 3, 2022
2 parents 1b9dedd + cc27290 commit f26bbc2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
- 2.0.2
- Fix Decision Tree max height terminating condition

- 2.0.1
- Compensate for PHP 8.1 backward compatibility issues

Expand Down Expand Up @@ -32,6 +35,9 @@
- Change RBX serializer constructor argument from base to level
- Rename Writeable extractor interface to Exporter

- 1.3.4
- Fix Decision Tree max height terminating condition

- 1.3.3
- Forego unnecessary logistic computation in Logit Boost

Expand Down
2 changes: 1 addition & 1 deletion src/Graph/Trees/DecisionTree.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public function grow(Labeled $dataset) : void

$this->root = $this->split($dataset);

$stack = [[$this->root, 1]];
$stack = [[$this->root, 0]];

while ($stack) {
[$current, $depth] = array_pop($stack);
Expand Down
2 changes: 1 addition & 1 deletion src/constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @var string
*/
const VERSION = '2.0.1';
const VERSION = '2.0.2';

/**
* A small number used in substitution of 0.
Expand Down

0 comments on commit f26bbc2

Please sign in to comment.