2016-04-09 13:46:54 +00:00
|
|
|
<?php
|
|
|
|
|
2016-11-20 21:53:17 +00:00
|
|
|
declare(strict_types=1);
|
2016-04-09 13:46:54 +00:00
|
|
|
|
|
|
|
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
|
|
|
*/
|
2016-09-30 12:02:08 +00:00
|
|
|
class GlassDataset extends CsvDataset
|
2016-04-09 13:46:54 +00:00
|
|
|
{
|
|
|
|
public function __construct()
|
|
|
|
{
|
2016-12-12 17:45:14 +00:00
|
|
|
$filepath = __DIR__.'/../../../../data/glass.csv';
|
2016-04-09 13:46:54 +00:00
|
|
|
parent::__construct($filepath, 9, true);
|
|
|
|
}
|
|
|
|
}
|