Want to tap the power behind search rankings, product recommendations, social bookmarking, and online matchmaking? This fascinating book demonstrates how you can build Web 2.0 applications to mine the enormous amount of data created by people on the Internet. With the sophisticated algorithms in this book, you can write smart programs to access interesting datasets from other web sites, collect data from users of your own applications, and analyze and understand the data once you've found it.Programming Collective Intelligence takes you into the world of machine learning and statistics, and explains how to draw conclusions about user experience, marketing, personal tastes, and human behavior in general -- all from information that you and others collect every day. Each algorithm is described clearly and concisely with code that can immediately be used on your web site, blog, Wiki, or specialized application. This book explains:* Collaborative filtering techniques that enable online retailers to recommend products or media * Methods of clustering to detect groups of similar items in a large dataset * Search engine features -- crawlers, indexers, query engines, and the PageRank algorithm * Optimization algorithms that search millions of possible solutions to a problem and choose the best one * Bayesian filtering, used in spam filters for classifying documents based on word types and other features * Using decision trees not only to make predictions, but to model the way decisions are made * Predicting numerical values rather than classifications to build price models * Support vector machines to match people in online dating sites * Non-negative matrix factorization to find the independent features in a dataset * Evolving intelligence for problem solving -- how a computer develops its skill by improving its own code the more it plays a gameEach chapter includes exercises for extending the algorithms to make them more powerful. Go beyond simple database-backed applications and put the wealth of Internet data to work for you. "Bravo! I cannot think of a better way for a developer to first learn these algorithms and methods, nor can I think of a better way for me (an old AI dog) to reinvigorate my knowledge of the details."-- Dan Russell, Google "Toby's book does a great job of breaking down the complex subject matter of machine-learning algorithms into practical, easy-to-understand examples that can be directly applied to analysis of social interaction across the Web today.If I had this book two years ago, it would have saved precious time going down some fruitless paths." -- Tim Wolters, CTO, Collective Intellect
Toby Segaran works as a Data Magnate at Metaweb Technologies. Prior to working at Metaweb, he started a biotech software company called Incellico which was later acquired by Genstruct. His book, "Programming Collective Intelligence" has been the best-selling AI book on Amazon for several months. He is the recipient of a National Interest Waiver for "People of Exceptional Abilit...
(展开全部)
Next,getalistofrandompeopletomakeupthedataset.Fortunately,HotorNotprovidesanAPIcallthatreturnsalistofpeoplewithspecifiedcriteria.Inthisexam-ple,theonlycriteriawillbethatthepeoplehave“meetme”profiles,sinceonlyfromtheseprofilescanyougetotherinformationlikelocationandinterests.Addthisfunctiontohotornot.py:
——引自第162页
WhatDoesThisHavetoDowiththeArticlesMatrix?Sofar,whatyouhaveisamatrixofarticleswithwordcounts.Thegoalistofactorizethismatrix,whichmeansfindingtwosmallermatricesthatcanbemultipliedtogethertoreconstructthisone.Thetwosmallermatricesare:ThefeaturesmatrixThismatrixhasarowforeachfeatureandacolumnforeachword.Thevaluesindicatehowimportantawordistoafeature.Eachfeatureshouldrepresentathemethatemergedfromasetofarticles,soyoumightexpectanarticleaboutanewTVshowtohaveahighweightfortheword“television.”TheweightsmatrixThismatrixmapsthefeaturestothearticlesmatrix.Eachrowisanarticleandeachcolumnisafeature.Thevaluesstatehowmucheachfeatureappliestoeacharticl...
——引自第234页
男性不育 内容简介 中医药在防治男性不育方面,积累了十分丰富的经验,而且疗效显著,优势明显。《男性不育》作为《专科专病名因临证实录》系列丛书之一,主要介...
城市发展战略(案例实证研究) 本书特色 城市发展战略是对城市经济、社会、环境的发展所作的全局性、长远性和纲领性的谋划。对城市发展战略的研究可以获得丰富的知识积累...
艾伦•弗朗西斯•布鲁克(Alan Francis Brooke,1883-1963),英国陆军元帅、大英帝国总参谋长,他主导了二战时期英国的绝大多数重大战争决策...
《保险法》内容简介:本书系统介绍、分析了保险法的制度基础和理论、保险合同权利义务的配置、保险合同的效力、人身保险、财产保险
口齿咽喉诸疾普济方新编 内容简介 本书取材于《普济方·口门、舌门、咽喉门、牙齿门》,以人民卫生出版社于1959年校排的第二册为蓝本,按现代口齿咽喉病学的思路,打...
《转型期城市社会治理研究——民国山东城市下层社会调控透视》内容简介:本书以民国时期山东城市为切入点,通过对大量史料的深入挖
Reviewsofthefirstedition:"Thishighlyoriginalself-containedbookwillappealtogeomet...
杏林碎金录-30年皮外科秘典真传-第二版 本书特色 作者从医三十余年,先后师从国医大师朱良春先生,河北名老中医李士懋、田淑霄夫妇,苏北家传三代中医外科名家陈瑞山...
嬗变的大都市-关于城市的一些观念 本书特色 《嬗变的大都市》描述了现在的城市观念如何从20世纪的思潮中演化而来。如果说20世纪是一个规划的时代,那么,我们发现,...
陇上中医传承集-甘肃省国家及省级第二.第三批名老中医学术经验撷粹 本书特色 《陇上中医传承集》是甘肃省中医药管理局组织编写的,收载了甘肃省70位国家及省级师带徒...
1972年出生于意大利波坦察,长期致力于研究远东与欧洲跨地域文化交流研究。2004年获佛罗伦萨大学艺术史系博士学位,主攻课题为《佛罗伦萨博物馆藏中国和日本漆器》...
作品目录漫游电世界迷失在太阳系水的故事奇妙的蜂巢海底探险在人体中游览地球内部探秘追寻恐龙穿越飓风探访感觉器官气候大挑战·
Afteryearsofneglect,organizationalresearchhasincreasinglyfocusedonemotionsatwork...
精彩摘录缠论点睛1。因贪婪而追涨,因恐惧而杀跌,因为暴富心理去听消息,找黑马股,因为无明去找股评,因为幻想出现反弹而无视
门氏中医临证实录 本书特色 (二)联合方组的特点*,注重胃气,大病以胃。若患者脾胃功能不足,则联合方组中*方常以胃气为先导,只有保证了胃气才能使药物真正发挥作用...
“如果他们说的没错,那么在纽瓦克,呼吸这件维系生命的事就变成了危险动作——深呼吸一下,你可能就会死。”《报应》是菲利普•罗斯五十四年写作生涯的封笔之作,也是“报...
★英国年度令人惊讶和振奋的小说,亚马逊4.6高分推荐★一场历经生死的完美遗憾,一次跨越人工智能的情感别离★唯有学会告别,才能真正与自己和解★如果有一天,失去的亲...
北京法院指导案例(第一卷) 内容简介 本书精选了2003年和2004年北京市三级法院审理的110个案例,所选案例涉及刑事、民事、行政及执行各个领域,不仅内容新颖...
设计篇-装修不上当 内容简介 本书将室内设计按照不同风格分成几个大类进行详细的阐述,全方面展示每种装饰风格的特点,以及相应的装饰手法,并配有直观的图片,方便读者...
《寻鳞》是90后作家章毛杰在2014年12月出版的一部带有童话色彩的长篇小说,由墨刻公司与安徽文艺出版社联手打造。这本小说语言清新柔美,融合了奇幻悬疑,解谜冒险...