php-ml/src/Phpml/Dataset/Demo/GlassDataset.php
2016-12-12 18:45:14 +01:00

29 lines
582 B
PHP

<?php
declare(strict_types=1);
namespace Phpml\Dataset\Demo;
use Phpml\Dataset\CsvDataset;
/**
* Classes: 6
* Samples per class:
* 70 float processed building windows
* 17 float processed vehicle windows
* 76 non-float processed building windows
* 13 containers
* 9 tableware
* 29 headlamps
* Samples total: 214
* Features per sample: 9.
*/
class GlassDataset extends CsvDataset
{
public function __construct()
{
$filepath = __DIR__.'/../../../../data/glass.csv';
parent::__construct($filepath, 9, true);
}
}