You are here

class ItemBasedBooleanRecommender in Recommender API 7.6

Hierarchy

Expanded class hierarchy of ItemBasedBooleanRecommender

1 string reference to 'ItemBasedBooleanRecommender'
recommender_process_record in ./recommender.module
This function process the command, and saves result back to $record. Will not save record.

File

classes/Recommender.php, line 255

View source
class ItemBasedBooleanRecommender extends ItemBasedRecommender {
  public function initialize($params) {

    // do a simple trick of inverse item/user fields.
    parent::initialize($params);
    $this->structure['preference']['score type'] = 'boolean';
  }

}

Members

Namesort descending Modifiers Type Description Overrides
CFRecommender::$isBooleanRecommender protected property
CFRecommender::$itemMap protected property
CFRecommender::$itemNum protected property
CFRecommender::$predictionMatrix protected property
CFRecommender::$preferenceMatrix protected property
CFRecommender::$similarityMatrix protected property
CFRecommender::$structure protected property
CFRecommender::$timestamp protected property
CFRecommender::$userMap protected property
CFRecommender::$userNum protected property
CFRecommender::$userVectors protected property
CFRecommender::computePrediction protected function
CFRecommender::computeSimilarity protected function
CFRecommender::execute public function Do all computation here. Overrides RecommenderInterface::execute
CFRecommender::loadPreference protected function Load matrix from the database into a matrix class in memory
CFRecommender::saveMatrix protected function
ItemBasedBooleanRecommender::initialize public function Initialize the recommender settings from $params. No complexity should be introduced here. Overrides ItemBasedRecommender::initialize
ItemBasedRecommender::finalize public function Save data to database, etc. Overrides CFRecommender::finalize