2016-04-09 13:46:54 +00:00
|
|
|
<?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
|
2016-04-09 13:52:22 +00:00
|
|
|
* Features per sample: 9.
|
2016-04-09 13:46:54 +00:00
|
|
|
*/
|
|
|
|
class Glass extends CsvDataset
|
|
|
|
{
|
|
|
|
public function __construct()
|
|
|
|
{
|
|
|
|
$filepath = dirname(__FILE__).'/../../../../data/glass.csv';
|
|
|
|
parent::__construct($filepath, 9, true);
|
|
|
|
}
|
|
|
|
}
|