1 <?php 2 3 declare(strict_types=1); 4 5 namespace Phpml\Dataset\Demo; 6 7 use Phpml\Dataset\CsvDataset; 8 9 /** 10 * Classes: 3 11 * Samples per class: 50 12 * Samples total: 150 13 * Features per sample: 4. 14 */ 15 class IrisDataset extends CsvDataset 16 { 17 public function __construct() 18 { 19 $filepath = __DIR__.'/../../../data/iris.csv'; 20 parent::__construct($filepath, 4, true); 21 } 22 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body