Fix documentation of ClassificationReport (#209)

* Fix values in example code

* Remove inconsistent empty lines
This commit is contained in:
Yuji Uchiyama 2018-02-01 03:20:50 +09:00 committed by Arkadiusz Kondas
parent 4ab73eec5b
commit 9f0723f7d0
1 changed files with 1 additions and 3 deletions

View File

@ -36,7 +36,6 @@ After creating the report you can draw its individual metrics:
```
$precision = $report->getPrecision();
// $precision = ['cat' => 0.5, 'ant' => 0.0, 'bird' => 1.0];
```
@ -63,6 +62,5 @@ $report->getSupport();
// ['cat' => 1, 'ant' => 1, 'bird' => 3]
$report->getAverage();
// ['precision' => 0.75, 'recall' => 0.83, 'f1score' => 0.73]
// ['precision' => 0.5, 'recall' => 0.56, 'f1score' => 0.49]
```