spotify-recommender / global_var.py
nandovallec
Bug
de94006
raw
history blame
245 Bytes
import pandas as pd
import pickle
from scipy.sparse import csr_matrix
df_ps_train_ori = pd.read_hdf('model/df_ps_train_new.hdf')
pickle_path = 'model/giantMatrix_new.pickle'
with open(pickle_path, 'rb') as f:
ps_matrix_ori = pickle.load(f)