You are here

private function CorrelationRecommender::getFromDirectMatrix in Recommender API 6.2

1 call to CorrelationRecommender::getFromDirectMatrix()
CorrelationRecommender::recordExists in ./Recommender.php

File

./Recommender.php, line 601

Class

CorrelationRecommender
The recommender implementation for the classical correlation-coefficient based algorithm

Code

private function getFromDirectMatrix($mouse_id, $cheese_id) {
  return $this->directMatrix
    ->get($this->mouseMap[$mouse_id], $this->cheeseMap[$cheese_id]);
}