function recommender_item2item in Recommender API 6.2
File
- ./
recommender.module, line 64
Code
function recommender_item2item($app_name, $table_name, $field_mouse, $field_cheese, $field_weight, $options = array()) {
$options['sim_pred'] = TRUE;
$recommender = new Item2ItemRecommender($app_name, $table_name, $field_mouse, $field_cheese, $field_weight, $options);
$recommender
->computeSimilarity();
$recommender
->computePrediction();
}