@@ -3,8 +3,6 @@ |
||
| 3 | 3 | |
| 4 | 4 | namespace Regression; |
| 5 | 5 | |
| 6 | -use Carbon\Carbon; |
|
| 7 | - |
|
| 8 | 6 | /** |
| 9 | 7 | * Class ExponentialRegression |
| 10 | 8 | * @package Regression |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | $this->resultSequence[] = $coordinate; |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | - $this->equation = 'y = ' . round($gradient, 1) . 'x + ' . round($intercept, 1); |
|
| 63 | + $this->equation = 'y = ' . round($gradient, 1) . 'x + ' . round($intercept, 1); |
|
| 64 | 64 | |
| 65 | 65 | $this->push(); |
| 66 | 66 | } |
@@ -3,8 +3,6 @@ |
||
| 3 | 3 | |
| 4 | 4 | namespace Regression; |
| 5 | 5 | |
| 6 | -use Carbon\Carbon; |
|
| 7 | - |
|
| 8 | 6 | /** |
| 9 | 7 | * Class ExponentialRegression |
| 10 | 8 | * @package Regression |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | $this->resultSequence[] = $coordinate; |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | - $this->equation = 'y = ' . round($A, 2) . '+ x^' . round($B, 2); |
|
| 57 | + $this->equation = 'y = ' . round($A, 2) . '+ x^' . round($B, 2); |
|
| 58 | 58 | |
| 59 | 59 | $this->push(); |
| 60 | 60 | } |