SYMBOL INDEX (28 symbols across 4 files) FILE: attractions_recc.py function f (line 16) | def f(row): function sim_score (line 27) | def sim_score(row): function get_recc (line 41) | def get_recc(att_df, cat_rating): function filter_df (line 74) | def filter_df(filename, user, low, high, province, att_df): function get_image (line 85) | def get_image(name): function top_recc (line 111) | def top_recc(with_url, final): function find_closest (line 126) | def find_closest(with_url, loc, tod, final): function final_output (line 143) | def final_output(days, final): FILE: hotel_recc.py function get_rating (line 15) | def get_rating(x): function amenities_rating (line 29) | def amenities_rating(spark, amenities_pref, newh_df): function model_train (line 49) | def model_train(spark, usr_rating): function get_hotel_recc (line 86) | def get_hotel_recc(spark, usrid_s2): function get_image (line 104) | def get_image(name): function get_hotel_output (line 129) | def get_hotel_output(days, final): FILE: rbm.py class RBM (line 11) | class RBM(object): method __init__ (line 15) | def __init__(self, alpha, H, num_vis): method training (line 24) | def training(self, train, valid, user, epochs, batchsize, free_energy,... method load_predict (line 131) | def load_predict(self, filename, train, user): method calculate_scores (line 157) | def calculate_scores(self, ratings, attractions, rec, user): method export (line 233) | def export(self, unseen, seen, filename, user): method export_errors_plot (line 256) | def export_errors_plot(self, filename): method export_free_energy_plot (line 262) | def export_free_energy_plot(self, filename): FILE: utils.py class Util (line 10) | class Util(object): method read_data (line 12) | def read_data(self, folder): method clean_subset (line 22) | def clean_subset(self, ratings, num_rows): method preprocess (line 32) | def preprocess(self, ratings): method split_data (line 55) | def split_data(self, total_data): method free_energy (line 70) | def free_energy(self, v_sample, W, vb, hb):