You are here

protected function SlopeOneRecommender::initialize in Recommender API 6.2

Overrides Recommender::initialize

File

./Recommender.php, line 695

Class

SlopeOneRecommender
Slopeone algorihtm. Doesn't support similarity calculation. Only support making predictions.

Code

protected function initialize() {
  $this->extension = isset($this->options['extension']) ? $this->options['extension'] : 'weighted';

  // could be 'weighted', 'bipolar'
}