| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 41 | public function __construct(Kernel $kernel = null, float $C = 1.0, float $tolerance = .001, int $upperBound = 100) |
||
| 42 | { |
||
| 43 | if (null === $kernel) { |
||
| 44 | $kernel = new Kernel\RBF($gamma = .001); |
||
| 45 | } |
||
| 46 | |||
| 47 | $this->kernel = $kernel; |
||
| 48 | $this->C = $C; |
||
| 49 | $this->tolerance = $tolerance; |
||
| 50 | $this->upperBound = $upperBound; |
||
| 51 | } |
||
| 52 | |||
| 62 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.