This hands-on guide demonstrates how the flexibility of the command line can help you become a more efficient and productive data scientist. You’ll learn how to combine small, yet powerful, command-line tools to quickly obtain, scrub, explore, and model your data.
To get you started—whether you’re on Windows, OS X, or Linux—author Jeroen Janssens introduces the Data Science Toolbox, an easy-to-install virtual environment packed with over 80 command-line tools.
Discover why the command line is an agile, scalable, and extensible technology. Even if you’re already comfortable processing data with, say, Python or R, you’ll greatly improve your data science workflow by also leveraging the power of the command line.
●Obtain data from websites, APIs, databases, and spreadsheets
●Perform scrub operations on plain text, CSV, HTML/XML, and JSON
●Explore data, compute descriptive statistics, and create visualizations
●Manage your data science workflow using Drake
●Create reusable tools from one-liners and existing Python or R code
●Parallelize and distribute data-intensive pipelines using GNU Parallel
●Model data with dimensionality reduction, clustering, regression, and classification algorithms
Chapter 1 Introduction
Overview
Data Science Is OSEMN
Intermezzo Chapters
What Is the Command Line?
Why Data Science at the Command Line?
A Real-World Use Case
Further Reading
Chapter 2 Getting Started
Overview
Setting Up Your Data Science Toolbox
Essential Concepts and Tools
Further Reading
Chapter 3 Obtaining Data
Overview
Copying Local Files to the Data Science Toolbox
Decompressing Files
Converting Microsoft Excel Spreadsheets
Querying Relational Databases
Downloading from the Internet
Calling Web APIs
Further Reading
Chapter 4 Creating Reusable Command-Line Tools
Overview
Converting One-Liners into Shell Scripts
Creating Command-Line Tools with Python and R
Further Reading
Chapter 5 Scrubbing Data
Overview
Common Scrub Operations for Plain Text
Working with CSV
Working with HTML/XML and JSON
Common Scrub Operations for CSV
Further Reading
Chapter 6 Managing Your Data Workflow
Overview
Introducing Drake
Installing Drake
Obtain Top Ebooks from Project Gutenberg
Every Workflow Starts with a Single Step
Well, That Depends
Rebuilding Specific Targets
Discussion
Further Reading
Chapter 7 Exploring Data
Overview
Inspecting Data and Its Properties
Computing Descriptive Statistics
Creating Visualizations
Further Reading
Chapter 8 Parallel Pipelines
Overview
Serial Processing
Parallel Processing
Distributed Processing
Discussion
Further Reading
Chapter 9 Modeling Data
Overview
More Wine, Please!
Dimensionality Reduction with Tapkee
Clustering with Weka
Regression with SciKit-Learn Laboratory
Classification with BigML
Further Reading
Chapter 10 Conclusion
Let’s Recap
Three Pieces of Advice
Where to Go from Here?
Getting in Touch
在北欧严寒苛刻的自然环境下,只有洋溢着北欧美学观的设计作品如室内的花朵般恣意绽放。其设计师如何能孕育出温暖生活环境的作品
《超级花生逗讲冷笑话2》内容简介:《超级花生逗讲冷笑话2》是继畅销书《超级花生逗讲冷笑话》之后继续以超级花生逗为主要漫画形象
《合伙人:股权分配、激励、融资、转让(第2版)》内容简介:本书由全网粉丝超过500万的HR商学院院长、首席人事官胡华成老师,根据
ASP.NET不仅是微软最重要的战略性产品之一,而且还是Web开发领域最具创新性、最成功的技术之一。它可完全利用.NET架构的强大、高
《Web2.0策略指南》是有关战略的。书中的示例关注的是Web2.0的效率,而不是聚焦于技术。你将了解到这样一个事实:创建Web210业务
《人气女王的沟通智慧》内容简介:有些女人,不开口的时候堪称美女,可是一旦说话却会让人对其印象大打折扣。而另一些女人,她们看
本书以全新的ASP.NET2.0内容设计为出发点,循序渐进地以图文步骤及观念讲解新的ASP.NET2.0技术精要。内容涵盖VisualStudio20
《人类还能好好合作吗》内容简介:这是一本关于合作的书。合作是我们这个物种的超能力,是人类不仅能够生存下来,而且几乎在地球上
《他山之石》内容简介:鲁迅是享誉世界的小说家,但他的经典之作并非无源之水、无本之木。鲁迅明确说过自己“所仰仗的全在先前看过
计算证劵理论 内容简介 本书采用类似固体力学的确定性模型、原理、理论和方法,对证券(股票、期货、期权等)走势进行定量分析。全书分6章。首先介绍计算证券构思,计算...
《计算机组织与体系结构:性能设计》(第7版)是介绍当代计算机体系主流技术的最新技术的优秀教材。作者以IntelPentium4和IBM/Motor
《萌物绘:实用水彩手绘入门教程》内容简介:本书分为四大部分:工具篇、色彩篇、基础篇、实践篇。以甜品、花卉、动物三大萌物主题
Ajax是当今Web开发领域最流行的词汇。而JavaScript与CSS、XML和DOM几种老技术,加上XMLHttpRequest就构成了Ajax的四大基石。...
《插画设计高级教程Illustration》以国际的视角检验了现代插画艺术中插画题材的运用尺度,并提供了制作一件插画作品所需的理论及
Theoreticalneuroscienceprovidesaquantitativebasisfordescribingwhatnervoussystems...
本书是关于计算机网络的最著名的经典教材。它是目前美国大多数大学所开设的计算机网络课程的主要参考书。目前国内外能见到的各种
《把爱画出来·亲手画出宝宝的成长日记》内容简介:当你的生活中,突然“闯入”了一个小生命,他既是你情感的结晶,又是新生活的开
本书将带领读者从头开始制作一门语言的编译器。笔者特意为本书设计了CЬ语言,CЬ可以说是C语言的子集,实现了包括指针运算等在内
《DTPWORLD》隶属于日本WorksCorporationInc.。这是一家以研究和推广计算机应用与数位媒体印刷设计的专业出版社,旗下包括《CGWo
在今天不可持续的商品社会,人们购买到渴望已久的商品,只是短暂的使用,就迅速地丢弃然后又去寻求新的,消耗和浪费疯长,进而失