public function CFBooleanRecommender::initialize in Recommender API 7.6
Initialize the recommender settings from $params. No complexity should be introduced here.
Parameters
$params:
Return value
null
Overrides CFRecommender::initialize
File
- classes/
Recommender.php, line 246
Class
Code
public function initialize($params) {
// do a simple trick of inverse item/user fields.
parent::initialize($params);
$this->structure['preference']['score type'] = 'boolean';
}