您的位置:首页 > 移动开发

Appstore proj: Calculate an App's Top-5 related apps(2)

2016-01-12 11:55 375 查看
Save data into MongoDB

instead of print, we do persist

persist top 5 recommended apps in app_info

1. Persist top 5 apps in MongoDB





2. Do it for all apps 

loop through all apps, get the list from collection app_info

add function in DataService

add for loop in main function

call the same function calculate_top_5(app, user_download_history)



内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: