Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 3 |
CRAP | |
0.00% |
0 / 13 |
SVMModel | |
0.00% |
0 / 1 |
|
0.00% |
0 / 3 |
12 | |
0.00% |
0 / 13 |
setMaps($categoryMap, $tokenMap) | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 5 |
|||
getCategoryMap() | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 4 |
|||
getTokenMap() | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 4 |
<?php | |
namespace Camspiers\StatisticalClassifier\Model; | |
class SVMModel extends Model | |
{ | |
/** | |
* @var array | |
*/ | |
protected $categoryMap; | |
/** | |
* @var array | |
*/ | |
protected $tokenMap; | |
/** | |
* @param $categoryMap | |
* @param $tokenMap | |
*/ | |
public function setMaps($categoryMap, $tokenMap) | |
{ | |
$this->categoryMap = $categoryMap; | |
$this->tokenMap = $tokenMap; | |
} | |
/** | |
* @return array | |
*/ | |
public function getCategoryMap() | |
{ | |
return $this->categoryMap; | |
} | |
/** | |
* @return array | |
*/ | |
public function getTokenMap() | |
{ | |
return $this->tokenMap; | |
} | |
} |