Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
46 | public function __construct(Kernel $kernel = null, float $C = 1.0, float $tolerance = .001, int $upperBound = 100) |
||
47 | { |
||
48 | if (null === $kernel) { |
||
49 | $kernel = new Kernel\RBF($gamma = .001); |
||
50 | } |
||
51 | |||
52 | $this->kernel = $kernel; |
||
53 | $this->C = $C; |
||
54 | $this->tolerance = $tolerance; |
||
55 | $this->upperBound = $upperBound; |
||
56 | } |
||
57 | |||
77 |
This check marks private properties in classes that are never used. Those properties can be removed.