mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-17 02:35:09 +00:00
29 lines
582 B
PHP
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);
|
|
}
|
|
}
|