![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mongodb
IT衡
这个作者很懒,什么都没留下…
展开
-
MongoDB 基础知识
转自pantao :http://segmentfault.com/a/1190000002694268?_ea=184402#articleHeader8 基本概念 文档是 MongoDB 中数据的基本单元,非常类似于关系型数据库中的行,但更具有表现力;集合 Collection 可以看作是一个动态模式(Dynamic Schema)的表;MongoDB 的一个实例可转载 2016-01-11 13:53:56 · 455 阅读 · 0 评论 -
Mac OS install mongodb
1. install mongodb >>> brew install mongodb 2. create data directory >>> sudo mkdir -p /data/db 3. set permission for data directory >>> sudo chmod -R 777/data 4. run mongodb in frond ground(会停在原创 2016-01-10 20:22:04 · 470 阅读 · 0 评论 -
Appstore proj: Calculate an App's Top-5 related apps(2)
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, ge原创 2016-01-12 11:55:23 · 486 阅读 · 0 评论 -
Appstore proj: Calculate an App's Top-5 related apps(1)
How to calculate similarity? use cosine similarity! Edit helper.py. So you can call the function in helper class when needed >>> helper = Helper() similarity = helper.cosine_simil原创 2016-01-12 11:01:57 · 597 阅读 · 0 评论