public __construct ( array $samples, array $targets ) | ||
$samples | array | |
$targets | array |
public function __construct(array $samples, array $targets)
{
if (count($samples) != count($targets)) {
throw InvalidArgumentException::arraySizeNotMatch();
}
$this->samples = $samples;
$this->targets = $targets;
}