随笔分类 -  PCI

集体智慧编程读书笔记
提供推荐
摘要:1. Collaborative FilteringCollaborative Filtering: 通过喜好相近的人构造推荐列表。如何表示喜好?用嵌套字典表示不同人对不同影片的评分。嵌套字典的数据结构就像一棵树,叶子节点(键值)表示最终的属性。(源代码下载地址)>>>from recommendations import critics>>> critics['Toby']{'Snakes on a Plane': 4.5, 'Superman Returns': 4.0, 'You, Me and 阅读全文

posted @ 2013-07-15 21:53 daniel-D 阅读(1817) 评论(0) 推荐(0)

导航