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 技術手冊
230
|
第十九章:揭開資料品質分析的神祕面紗:瞭解何時你的資料已經夠好了
正確(Correct
在確認過你的資料是完整且前後連貫的之後,你尚未準備好要產生一些數字。現在你必
須要問你自己,你的資料是否足夠
正確
,讓你能夠做你嘗試要做的事情。在分析之前先
考量這件事看起來有點奇怪,因為執行分析時,通常某種程度的也會驗證資料集合;但
記住,在你移動到主要事件上面之前,也有正確性的「子維度」要被重複驗證。跟測試
前後連貫性相似,正確性需要某種程度的領域知識。
其中一件要記得的事情,就是正確性本身能夠是相關的。試想你從一個由上百台伺服器
所組成的分散式系統中取得資料,而你希望測量整個系統的訊息流程中元件服務之間的
延遲。你能夠直接假設所有機器的時間都是同步的嗎,或是假設你的歷史記錄訊息的記
錄時間戳記都是同步的?也許。但就算是你自己配置這個系統,事情還是會改變(並且
壞掉)。
其中一個簡單的確認,就是要確認時間戳記是向適當的方向移動。假設系統的訊息流程
分別是依照
s1
s2
以及
s3
的順序。你可以確認時間戳記是如下般相關:
message_timestamp(s1) <= message_timestamp(s2) <= message_timestamp(s3)
若通過
s2
訊息的時間戳記,是一致的小於(較新)當這些相同的訊息經過
s1
時的時間
戳記。只要你認為時間旅行是不可能的,你會推論出,你在資料中擁有系統性的錯誤
(舉例來說,有可能是因為在
s1
或在
s2
上錯誤的配置時鐘)。你可以修正系統的時鐘
並且重新建立資料集合,或是調整儲存好的時間戳記 ...
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