Big Data Max Kemman University of Luxembourg October 19, 2015 - - PowerPoint PPT Presentation

big data
SMART_READER_LITE
LIVE PREVIEW

Big Data Max Kemman University of Luxembourg October 19, 2015 - - PowerPoint PPT Presentation

Big Data Max Kemman University of Luxembourg October 19, 2015 Online slides optimised for Full-HD screens in full-screen mode Download PDF here Doing Digital History: Introduction to Tools and Technology Recap from last time What is a


slide-1
SLIDE 1

Big Data

Max Kemman

University of Luxembourg October 19, 2015 Online slides optimised for Full-HD screens in full-screen mode Download PDF here

Doing Digital History: Introduction to Tools and Technology

slide-2
SLIDE 2

Recap from last time

What is a digital library or archive? How are sources digitised? How can we search the digital archive? Can we research the digital library or archive as a whole?

slide-3
SLIDE 3

Today

Are digital libraries big data?

  • N=ALL
  • Messy data
  • From causality to correlation
  • Radical contextualisation
  • Next time
slide-4
SLIDE 4

Are digital libraries big data?

Last week we discussed digital libraries/archives Europeana contains about 32M digital objects Is this big data?

slide-5
SLIDE 5

What is "data" anyway?

Term has rhetorical function: "that which is given prior to argument" (Gitelman, 2014) Common description: "raw data" But creating data requires vast amount of work (as we saw last week) Interpretive work into creating data

slide-6
SLIDE 6

What is "big data"?

Metaphors used to describe big data give different interpretations (Awati & Shum, 2014)

Food: raw or cooked

  • Resource: oil, gold
  • Liquid: ocean, tsunami
slide-7
SLIDE 7

What is "big data" anyway?

'Classic' definition by V's: Another definition: too much data to handle

Volume: size

  • Velocity: accumulation
  • Variety: heterogeneous
slide-8
SLIDE 8

Is this new?

Andrew Prescott (2015):

Domesday book

  • US Census 1890
slide-9
SLIDE 9

What is "big data" anyway?

What is the difference between "lots of data" and "big data"? (Lagoze, 2014)

"Large" is historical: computers change

  • Big data makes us rethink what science is
slide-10
SLIDE 10

Are digital libraries big data?

Or, does History have big data? From the definitions so far: Some say History/Humanities do not have big data

Size: not so much (compared to CERN)

  • Velocity: not so much
  • Variety: yes!
  • Too much data to handle: probably
  • Makes us think what science is: maybe
slide-11
SLIDE 11

Why is big data interesting

BUT, why are we concerned with big data, but not with particle physics? (Wallach, 2014) Two reasons: Here maybe History/Humanities do have interest in big data

Social: big data are about people

  • Granularity: individual people and their activities
slide-12
SLIDE 12

Big data is a big topic

Another definition of big data (Mayer-Schönberger & Cukier, 2014) Let's discuss these features

N=ALL

  • Messy
  • From causality to correlation
slide-13
SLIDE 13

N=ALL

"N" refers to the number of observations done as part of the sample size Sample: a group that represents the entire population So N=ALL refers to measuring everything, rather than a representative smaller group

slide-14
SLIDE 14

All historical sources?

A difference between "a lot of data" and "all data" Remember Rosenzweig from week 1: The injunction of traditional historians to look at “everything” cannot survive in a digital era in which “everything” has survived

Rosenzweig (2003)

slide-15
SLIDE 15

Is size that interesting?

If big data is merely a quantitative difference, what's the interest? But, quantitive can lead to qualitative difference (Mayer-Schönberger, 2014)

slide-16
SLIDE 16

Longue durée

Rather than focusing on a very short timespan, see development over ages

slide-17
SLIDE 17

Messy data

Big data has Variety A heterogeneous dataset Too much data to manually check

Different data-types

  • Different variables
slide-18
SLIDE 18

Can we use messy data?

Mayer-Schönberger & Cukier: size makes up for messiness Exactness is from the age of spare information The noise can be smoothed out

slide-19
SLIDE 19

Crowdsourcing

One way of trying to get someone to look at the data Need to trust anonymous people

slide-20
SLIDE 20

Does big data reflect the world?

With N=ALL, big data = reality, right? But (big) data incorporates choices of what to measure Twitter/Facebook are biased reflections of the world

slide-21
SLIDE 21

How big data is 'unfair'

The average person is a fiction Hitchcock: it is the exceptions we are interested in!

slide-22
SLIDE 22

Looking at the exceptions

Wallach agrees: use the granularity of big data to study minorities & exceptions How do we discover the minorities & exceptions of interest? To repeat; cannot look at all cases individually Some statistical analysis is required

slide-23
SLIDE 23

From causality to correlation

Correlation: two variables show a statistical relation Causation: one variable explains the second

Positive: when A increases, B increases

  • Negative: when A increases, B decreases
  • Example: when it rains, more people take umbrellas with them
slide-24
SLIDE 24

Correlation found

A nice example is Google Flu Trends:

Took flu data from national health center for number of years

  • Investigated which keyword searches occurred shortly before or during flu outbreaks
  • Use keyword searches to predict outbreak of flu
slide-25
SLIDE 25

Correlation and causation

Important to remember: correlation does not equal causation The keyword searches do not cause the flu! Sometimes you don't know which variable comes first Maybe a third variable explains the two measured ones

slide-26
SLIDE 26

Meaningful correlation

Does the correlation mean anything? Google Flu Trends later found not to produce accurate results Spurious correlations

slide-27
SLIDE 27

Spurious correlations

slide-28
SLIDE 28

Spurious correlations

http://www.tylervigen.com/spurious-correlations Find a correlation yourself: http://tylervigen.com/discover

slide-29
SLIDE 29

Meaningful correlation

We cannot only use the statistics, we need to interpret them But still we do not want to manually check all the possible correlations

slide-30
SLIDE 30

Machine learning

Wallach describes herself as machine learning researcher A simple introduction to machine learning (Geitgey, 2014) Rather than telling the computer what to do, it learns what to do

Supervised

  • Unsupervised
slide-31
SLIDE 31

Supervised learning

Provide enough answers to learn to give a new answer Computer figures out how to go from data to the answer

slide-32
SLIDE 32

Supervised learning

Or beat masters at chess

slide-33
SLIDE 33

Unsupervised learning

No given answer Are there patterns? Outliers?

slide-34
SLIDE 34

Train without knowing the rules

What do pregnant women buy? How are sentences translated to different languages?

slide-35
SLIDE 35

Patterns

Rens Bod: discovery of patterns with tools is Humanities 2.0 Hermeneutic interpretation of these patterns is Humanities 3.0 Fickers: context more interesting than the data

slide-36
SLIDE 36

Radical contextualisation

What is the context of each datapoint? Hitchcock - contextualize using the big data

slide-37
SLIDE 37

Context

If content is king, context is its crown Your search keywords make sense in your context

slide-38
SLIDE 38

Radical context

Remember from week 1: what does this tweet mean as part of 31M? Or actually: what does this tweet mean

  • utside of Twitter?
slide-39
SLIDE 39

Zooming

Hitchcock describes the macroscope quoting Katy Börner Macroscopes provide a "vision of the whole," helping us "synthesize" the related elements and detect patterns, trends, and outliers while granting access to myriad details. Rather than make things larger or smaller, macroscopes let us observe what is at once too great, slow,

  • r complex for the human eye and mind to notice and comprehend.
slide-40
SLIDE 40

Zooming in on people

If today we have a public dialogue that gives voice to the traditionally excluded and silenced – women, and minorities of ethnicity, belief and dis/ability – it is in no small part because we now have beautiful histories of small things. In other words, it has been the close and narrow reading of human experience that has done most to give voice to people excluded from ‘power’ by class, gender and race.

Hitchcock

slide-41
SLIDE 41

Close reading

Hitchcock argues for interchange of close and distant reading Distant reading? That's the next lecture

slide-42
SLIDE 42

For next time

19 October (double lecture)

Distant Reading

slide-43
SLIDE 43

Distant Reading

Max Kemman

University of Luxembourg October 19, 2015

Doing Digital History: Introduction to Tools and Technology

slide-44
SLIDE 44

Recap from last time

What is big data? Do digital libraries and historians have big data? How can big data be analyzed?

slide-45
SLIDE 45

Today

What is distant reading?

  • Reading the distance
  • Biases in the chart
  • Hands-on
  • Next time
  • Assignment
slide-46
SLIDE 46

What is distant reading?

“distant reading”: understanding literature not by studying particular texts, but by aggregating and analyzing massive amounts of data.

(Schulz, 2011)

slide-47
SLIDE 47

Aggregating

Rather than analyzing a book page by page, analyze a corpus book by book Corpus (here): an aggregated set of sources

slide-48
SLIDE 48

Viewing the aggregate (Moretti)

slide-49
SLIDE 49

Viewing the aggregate (Aiden & Michel)

slide-50
SLIDE 50

The charts

The charts aim to show how one variable relates to another Vertical: y-axis Horizontal: x-axis Y-axis is often frequency per X words X-axis is often time

slide-51
SLIDE 51

X-Axis

Not always the case, e.g. Gendered Language in Teacher Reviews X-axis: frequency per million words Y-axis: discipline Colour: gender

slide-52
SLIDE 52

Reading the distance

slide-53
SLIDE 53

Reading the distance

slide-54
SLIDE 54

Looking closer (Aiden & Michel)

slide-55
SLIDE 55

Looking closer (Moretti)

slide-56
SLIDE 56

Looking closer (Moretti)

slide-57
SLIDE 57

Playing around with the view

slide-58
SLIDE 58

Playing around with the view

slide-59
SLIDE 59

Finding a correlation

slide-60
SLIDE 60

Finding a correlation

Note: Moretti does not actually calculate the statistics

slide-61
SLIDE 61

Biases in the charts

What makes this chart difficult to interpret?

slide-62
SLIDE 62

OCR

1500 1550 1600 1650 1700 1750 1800 1850 1900 1950 2000

(click on line/label for focus)

0.00000% 0.00020% 0.00040% 0.00060% 0.00080% 0.00100% 0.00120% 0.00140% fuck

slide-63
SLIDE 63

OCR

1500 1550 1600 1650 1700 1750 1800 1850 1900 1950 2000

(click on line/label for focus)

0.00000000% 0.00000100% 0.00000200% 0.00000300% 0.00000400% 0.00000500% 0.00000600% 0.00000700% 0.00000800% ftrolling

slide-64
SLIDE 64

OCR

1500 1550 1600 1650 1700 1750 1800 1850 1900 1950 2000

(click on line/label for focus)

0.000000% 0.000020% 0.000040% 0.000060% 0.000080% 0.000100% 0.000120% 0.000140% 0.000160% 0.000180% 0.000200% 0.000220% ftrolling strolling

slide-65
SLIDE 65

The bumps

Important to note is smoothing Makes the chart easier to read, but abstracts away information ftrolling,strolling Google ngram

slide-66
SLIDE 66

What is in the corpus?

slide-67
SLIDE 67

What is in the corpus?

slide-68
SLIDE 68

(Source)

What is in the corpus?

Recent research on Google Books: (Source)

Raw numbers do not reflect popularity

  • Lots of scientific literature
  • Language
  • Spurious correlations?
  • ne study that used Google Books to make broad claims about

the changing nature of childhood in the mid-20th century, a study that failed to acknowledge that parenting manuals emerged as a genre during that era.

slide-69
SLIDE 69

Hands-on

Go to http://bookworm.culturomics.org/ and choose a bookworm or other ngram viewer Try the same keywords in different tools Try different keywords in the same tool

slide-70
SLIDE 70

For next time

26 October (double lecture)

What? Investigating what a corpus is about

Reading: (see Moodle)

Braake, S. ter, & Fokkens, A. (2015). How to Make it in History. Working Towards a Methodology of Canon Research with Digital Methods. In Biographical Data in a Digital World 2015 (pp. 85–93).

slide-71
SLIDE 71

Assignment

Work in pairs of two Use one of the tools discussed today to try and find something you find

  • interesting. Document your steps and choices and discuss why a finding is
  • f interest, and whether you can be certain of this finding.

Hand in the assignment in HTML, include your name and a decent profile photo

slide-72
SLIDE 72

Assignment

Grading Do note: the finding itself is not the most important aspect of the assignment Email to max.kemman@uni.lu before the start of the next lecture

1pt for free

  • 3pts for HTML
  • 3pts for documentation of your process
  • 3pts for critical reflection on your finding