php-ml/src/Phpml/Exception/DatasetException.php
David Monllaó 8f122fde90 Persistence class to save and restore models (#37)
* Models manager with save/restore capabilities

* Refactoring dataset exceptions

* Persistency layer docs

* New tests for serializable estimators

* ModelManager static methods to instance methods
2017-02-02 09:03:09 +01:00

20 lines
335 B
PHP

<?php
declare(strict_types=1);
namespace Phpml\Exception;
class DatasetException extends \Exception
{
/**
* @param string $path
*
* @return DatasetException
*/
public static function missingFolder(string $path)
{
return new self(sprintf('Dataset root folder "%s" missing.', $path));
}
}