We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swing 中用于练习的代码使用的数据集为“ratings_final” 但是没有在dataset里找到对应的数据集 if name == "main": train_data_path = "./ratings_final.txt" item_sim_save_path = "./item_sim_dict.txt" top_k = 10 #与item相似的前 k 个item train = load_data(train_data_path) u_items, i_users = get_uitems_iusers(train) item_sim_dict = swing_model(u_items, i_users) save_item_sims(item_sim_dict, top_k, item_sim_save_path)
The text was updated successfully, but these errors were encountered:
参考一下这和issue #106
Sorry, something went wrong.
No branches or pull requests
Swing 中用于练习的代码使用的数据集为“ratings_final” 但是没有在dataset里找到对应的数据集
if name == "main":
train_data_path = "./ratings_final.txt"
item_sim_save_path = "./item_sim_dict.txt"
top_k = 10 #与item相似的前 k 个item
train = load_data(train_data_path)
u_items, i_users = get_uitems_iusers(train)
item_sim_dict = swing_model(u_items, i_users)
save_item_sims(item_sim_dict, top_k, item_sim_save_path)
The text was updated successfully, but these errors were encountered: