@@ 21-28 (lines=8) @@ | ||
18 | * Samples total: 214 |
|
19 | * Features per sample: 9. |
|
20 | */ |
|
21 | class Glass extends CsvDataset |
|
22 | { |
|
23 | public function __construct() |
|
24 | { |
|
25 | $filepath = dirname(__FILE__).'/../../../../data/glass.csv'; |
|
26 | parent::__construct($filepath, 9, true); |
|
27 | } |
|
28 | } |
|
29 |
@@ 15-22 (lines=8) @@ | ||
12 | * Samples total: 150 |
|
13 | * Features per sample: 4. |
|
14 | */ |
|
15 | class Iris extends CsvDataset |
|
16 | { |
|
17 | public function __construct() |
|
18 | { |
|
19 | $filepath = dirname(__FILE__).'/../../../../data/iris.csv'; |
|
20 | parent::__construct($filepath, 4, true); |
|
21 | } |
|
22 | } |
|
23 |
@@ 15-22 (lines=8) @@ | ||
12 | * Samples total: 178 |
|
13 | * Features per sample: 13. |
|
14 | */ |
|
15 | class Wine extends CsvDataset |
|
16 | { |
|
17 | public function __construct() |
|
18 | { |
|
19 | $filepath = dirname(__FILE__).'/../../../../data/wine.csv'; |
|
20 | parent::__construct($filepath, 13, true); |
|
21 | } |
|
22 | } |
|
23 |