R和Ruby数据分析之旅

(新加坡) Sau Sheong Chang

出版时间

2013-02-28

ISBN

9787115303707

评分

★★★★★

标签

计算机

书籍介绍

如果你对万事万物的运行方式充满好奇,这本有趣的《R和Ruby数据分析之旅》会帮你找到日常生活中某些问题的真正答案。借助基本的数学方法,并使用Ruby和R语言做一些简单的编程工作,你就能学会如何对问题建模,并找出解决方案。

要阅读《R和Ruby数据分析之旅》,对编程有基本了解就足够了。书中会对Ruby和R做一个简明的介绍,之后你就可以随作者一起,对多个领域的问题进行探索,并学习如何收集、处理、模拟和分析可用的数据。你将学会如何通过简单的程序和常识性的逻辑,以不同的视角看待日常的事物。读过本书,你便可以开启自己的探索和发现之。

下面是本书将要探究的一些问题:

★确定一间拥有70名员工的办公室需要有多少个卫生间隔间才能满足需要;

★挖掘自己的电子邮件,了解自身特定的邮件习惯;

★借助简易的音频和视频录制设备来计算自己的心率;

★创建一个人造的社会,并分析其中的行为模式,找出某些特定因素是如何影响我们的现实社会的。

AI导读
核心看点
  • 结合Ruby模拟与R分析,解决日常趣味问题
  • 涵盖卫生间规划、邮件挖掘等生动案例
  • 通过编程建模,培养系统思维与数据视角
适合谁读
  • 对数据分析感兴趣且具备基础编程知识者
  • Ruby或R语言初学者,寻求实战灵感者
  • 喜欢用技术手段探索生活现象的好奇者
读前提醒
  • 需具备基本编程概念,书中含简明语言介绍
  • 后半部分实例极具挑战,适合动手实践
  • 注意代码勘误,避免模拟脚本运行出错
读者共识
  • 案例有趣且具代表性,激发Side Project灵感
  • 翻译略显生硬,但核心内容与逻辑值得肯定
  • 适合快速阅读,作为入门参考或小品文消遣

本导读基于书籍简介、目录、原文摘录、短评和书评生成,不等同于全文精读。

精彩摘录
  • "You might notice in the code that we have to clone the restroom queue first and work on the cloned queue instead of the original one. This is because we will move the people back into the restroom queue if the restroom is fully occupied. If we use the restroom queue itself, we’ll end up in an infini"
  • "However, we ended with a cautionary note not to overanalyze data, because taking a different perspective of the data sometimes reveals the foolishness of going overboard with our analysis."
  • "RubyInstaller includes many native C-based extensions, so that's a bonus."
  • "Programmers are trained in logic, and our daily work mostly involves controlling and moving bits and bytes around. So when we're faced with a chunk of data and asked to do something with it, our reactions usually involve either bolting for the nearest exit or stuffing the data into a relational data"
  • "We run the same script in Example 3-6 but change the filename from simulation1.csv to simulation4-1.csv to generate the chart in Figure 3-8."
  • "We run the same script in Example 3-6 but change the filename from simulation1.csv to simulation3-1.csv to generate the chart in Figure 3-8."
  • "ggplot() + scale_shape_manual(name="Type", value=c(2,3,4,22)) + geom_smooth(data = df("simulation3"), aes(x=population,y=max)) + geom_point(data = df("simulation3"), aes(x=population,y=max,shape="max-1x12")) + geom_smooth(data = df("simulation4-4"), aes(x=population,y=max)) + geom_point(data = df("s"
  • "ggplot() + scale_shape_manual(name="Type", value=c(2,3,4,22)) + geom_smooth(data = df("simulation4-1"), aes(x=population,y=max)) + geom_point(data = df("simulation4-1"), aes(x=population,y=max,shape="max-1x12")) + geom_smooth(data = df("simulation4-4"), aes(x=population,y=max)) + geom_point(data = d"
作者简介
Sau Sheong Chang,新加坡惠普实验室的应用研究主管,已经从事软件开发工作17年,主要专注于与云计算和数据相关的系统。他在当地开发者社区颇有名望,并且作为演讲者活跃在众多技术大会上。在《Exploring Everyday Things with R and Ruby》之前,他出版过《Ruby on Rails Mashup Projects》和《Cloning Internet Applications with Ruby》两部著作。
目录
第1章 握住探险之鞭—认识Ruby
1.1 Ruby
1.1.1 为什么用Ruby
1.1.2 安装Ruby
1.1.3 运行Ruby

显示全部
用户评论
挺好玩的,HN上有个thread( https://news.ycombinator.com/item?id=5234692 )问怎么找side project的灵感,有人提到了这本书,确实有很多有趣的事情可以做啊。
入门书籍里最好的= =
模拟乌托邦!!!
多种应用场景,难得华人不错的技术书籍。模拟、意识和客观世界。
快速扫了一遍,很多程序什么都还没有细看,不过已经确认是一本非常有意思的书了
很有趣的书
O'Reilly送的书,翻译的还流畅,但是用词怪怪的
思维上非常符合程序员角度,更加的去挖掘你想要的东西
作为R和Ruby的入门参考书把。用Ruby做数据处理?为什么是Ruby?
收藏