Phpml\Dataset\FilesDataset::__construct PHP Method

__construct() public method

public __construct ( string $rootPath )
$rootPath string
    public function __construct(string $rootPath)
    {
        if (!is_dir($rootPath)) {
            throw DatasetException::missingFolder($rootPath);
        }
        $this->scanRootPath($rootPath);
    }