You are here

public function SlopeOneRecommender::computePrediction in Recommender API 6.2

Overrides Recommender::computePrediction

File

./Recommender.php, line 699

Class

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

Code

public function computePrediction() {
  $this
    ->prepareData('database');
  $this
    ->computePredictionDatabase();
}