diff --git a/src/Phpml/SupportVectorMachine/SupportVectorMachine.php b/src/Phpml/SupportVectorMachine/SupportVectorMachine.php index f3828b4..9f6da70 100644 --- a/src/Phpml/SupportVectorMachine/SupportVectorMachine.php +++ b/src/Phpml/SupportVectorMachine/SupportVectorMachine.php @@ -9,8 +9,8 @@ use Phpml\Helper\Trainable; class SupportVectorMachine { use Trainable; - - /** + + /** * @var int */ private $type; @@ -128,6 +128,26 @@ class SupportVectorMachine $this->varPath = $rootPath.'var'.DIRECTORY_SEPARATOR; } + /** + * @param string $binPath + */ + public function setBinPath(string $binPath) + { + $this->binPath = $binPath; + + return $this; + } + + /** + * @param string $varPath + */ + public function setVarPath(string $varPath) + { + $this->varPath = $varPath; + + return $this; + } + /** * @param array $samples * @param array $targets