mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-09-22 12:19:02 +00:00
29 lines
587 B
PHP
29 lines
587 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 Glass extends CsvDataset
|
||
|
{
|
||
|
public function __construct()
|
||
|
{
|
||
|
$filepath = dirname(__FILE__).'/../../../../data/glass.csv';
|
||
|
parent::__construct($filepath, 9, true);
|
||
|
}
|
||
|
}
|