Skip to Content
Bad Data 技術手冊
book

Bad Data 技術手冊

by Q. Ethan McCallum
September 2013
Intermediate to advanced
264 pages
5h
Chinese
GoTop Information, Inc.
Content preview from Bad Data 技術手冊
化學家(以及其他濫用電子試算表的人)的勒戒所
|
119
只要一個概念即可。舉例來說,若你給他們一個稱作
mean
的函式以及參數
x
,他們可能
會說:「這函式使用一個數值輸入,並且計算數學平均值。」很簡單,對吧?這個遊戲
最有趣的地方在於,若你的函式名稱取得很差,那麼就糟了。你的朋友會知道
foo
在做
什麼嗎?若你將該函式叫做
analyze
呢?若有個被合理命名的函式,卻需要 37 個參數
呢?或是某個你將其歸納,而依據前後狀況的不同會作六件不同事情的函式?
就算你在一個沒有對外聯絡方式的森林小木屋中撰寫程式,你仍然可以自己玩黑盒子這
個遊戲。假裝你並沒有撰寫這些函式的內容,然後再看看你是如何命名它們的。所有的
事情都合理嗎?若你將程式碼交給其他人,他們會瞭解嗎?
化學家(以及其他濫用電子試算表的人)的勒戒所
回到我與 James 的工作調換,在他跟我說化學家是如何嚴格的遵守實驗程序後,我也馬
上展示對等於資料分析的部分給他看。我想要讓 James 瞭解的一點是,我們需要能夠展
示任何數據的由來,提供從原始資料到結果的過程。
如我稍早所提的,化學家是 Excel 電子試算表的粉絲(或至少是會固定使用的使用
者)。他們大多數都有上過一兩堂統計的課程。這代表,他們不用統計學家的幫忙就可
以開始自己作資料分析,包含計算平均數、T 檢定等他們所能想到的所有分析方式。
用電子試算表來作資料分析有三個大問題。第一,在所有主要的電子試算表中,數值
計算方式出乎意料的貧乏
13
。第二,它們包含了一些意義上的設計瑕疵,會很容易造成
混亂 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

RxJava反应式编程

RxJava反应式编程

Tomasz Nurkiewicz, Ben Christensen
高效能PYTHON程式設計

高效能PYTHON程式設計

Micha Gorelick, Ian Ozsvald
Kubernetes编程

Kubernetes编程

Michael Hausenblas, Stefan Schimanski

Publisher Resources

ISBN: 9789862768952