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