check(); $this->gamma = $gamma; } /** * Return the options for the libsvm runtime. * * @internal * * @return mixed[] */ public function options() : array { return [ svm::OPT_KERNEL_TYPE => svm::KERNEL_RBF, svm::OPT_GAMMA => $this->gamma, ]; } /** * Return the string representation of the object. * * @internal * * @return string */ public function __toString() : string { return "RBF (gamma: {$this->gamma})"; } }