Mining personal media thresholds for opinion dynamics and social - - PowerPoint PPT Presentation

mining personal media thresholds for opinion dynamics and
SMART_READER_LITE
LIVE PREVIEW

Mining personal media thresholds for opinion dynamics and social - - PowerPoint PPT Presentation

Mining personal media thresholds for opinion dynamics and social influence Alex Meandzija Defining the Problem Transaction ID Items Dataset: 1 ABC I is a set of discrete items ( i ) 2 DE T is a set of transactions ( t ) such that t I


slide-1
SLIDE 1

Mining personal media thresholds for opinion dynamics and social influence

Alex Meandzija

slide-2
SLIDE 2

Defining the Problem

Dataset: I is a set of discrete items (i) T is a set of transactions (t) such that t ⊆ I Question: What sets of items are frequently found together in the transactions?

Transaction ID Items 1 ABC 2 DE 3 AB 4 CDE

slide-3
SLIDE 3

Example Applications

  • Market Basket Analysis
  • Determining frequently co-purchased products can inform store layout
  • Survey Data
  • Discrete data from surveys can be mined for trends and profiles
  • Website Logs
  • Pages frequently visited in the same session by users can be hyperlinked to

each other

slide-4
SLIDE 4

Support Measure

Support is the frequency at which an item or item set X is found in the transactions T and is defined as: Sup(X,T) = |{t ∊ T; X ⊆ t}| |T| Example: Supp(A) = .5 Supp(C) = .5 Supp(AC) = .25

Transaction ID Items 1 ABC 2 DE 3 AB 4 BCD

slide-5
SLIDE 5

Apriori Algorithm

Theorem: Supp(AB) ≤ Supp(A) & Supp(AB) ≤ Supp(B) Proof: any set Y such that Y⊆AB must satisfy Y⊆A and A⊈AB Therefore, if Supp(X ) ≤ Supp_min we can eliminate all item sets Y such that Y⊆X. The Apriori Algorithm uses this approach to build the frequent itemsets.

slide-6
SLIDE 6

Apriori Algorithm (continued)

Figure and Plot from Datamining and Analysis P. 247-248 (Zaki & Meira 2014 )

slide-7
SLIDE 7

ECLAT Optimization

Horizontal Database formatting allows for faster computation of support values. t(XY) = t(X) ⋂ t(Y) & Supp(X) = |t(X)| New prefixes can be generated by intersecting their bases, and their support is simply its cardinality.

Transaction ID Items 1 ABC 2 DE 3 AB 4 BCD Items A B C D E TIDs 1 3 1 3 4 1 4 2 4 2

slide-8
SLIDE 8

ECLAT Optimization (continued)

Figure and Plot from Datamining and Analysis P. 251-252 (Zaki & Meira 2014 )

slide-9
SLIDE 9

Association Rules

Often, it is more important to find directional associations rather than simple frequent item sets. We call these associations rules. Examples: Eggs, Butter, and Sugar → Flour In order to draw association rules from the frequent item sets one must use interestingness measures.

slide-10
SLIDE 10

Interestingness Measures

Confidence: Conf(X→Y) = Supp(XY) Supp(X) Lift: Lift(X→Y) = Supp(XY) Supp(X) ∗ Supp(Y) Jaccard: Jacc(X→Y) = Supp(XY) Supp(X) + Supp(Y) − Supp(XY)

slide-11
SLIDE 11

Media Threshold Survey

Participants asked to self-identify the number of social media items they would need to see before forming or shifting opinions given: Media types:

1. Images: for still photos and drawings 2. Videos: for any animations or moving picture 3. Messages: for text, tweets, and Facebook posts

Controversy levels:

1. Low: minimal (some people would form an opinion) 2. Medium: generally controversial (most would form an opinion) 3. High: very controversial (most or all would form an

  • pinion)

4. None: no reference to controversy

Media sources:

  • 1. Unknown: individual has no

knowledge of the source

  • 2. Like-minded: the source of the

media generally thinks similarly to the recipient

  • 3. Different-minded: the source
  • f the media generally thinks

differently from the recipient

slide-12
SLIDE 12

Binning Survey Data

In order to mine a dataset, it must be split up into a discrete set of items. Contiguous or open-ended response should be binned such that:

  • 1. The bin resolution is broad enough to keep frequencies above the

minimal support.

  • 2. The bin resolution is fine enough that information is not lost in the

binning process.

slide-13
SLIDE 13

Individual responses log2 binned Responses binned by %-deviation from Avg.

slide-14
SLIDE 14
slide-15
SLIDE 15
slide-16
SLIDE 16

Filtering Through the Rules

Filter(min) FC rule count FC %-remain FS rule count FS %-remain Support(.12/.15) 873,998 100.00 2,584,330 100.00 Confidence(.6) 360,644 41.26 1,096,151 42.42 Lift(3) 3,801 0.43 68,878 2.67 Maximal 784 0.09 25,329 0.98 One of the major challenges of data mining is the massive quantity of rules it can generate. Interestingness measures, problem considerations, and bloat reduction measures can greatly reduce the overall quantity of rules. Examples:

  • Interestingness measure: Requiring a sizeable Minimum lift or Confidence.
  • Problem Considerations: If one is looking to find the variables that effect average response, requiring

average response on the RHS.

  • Bloat Reduction: Accepting only maximal frequent item sets (Eliminating any FISs which have supersets

with equivalent support.)

slide-17
SLIDE 17

Filtering – Community Detection?

The prior filtering techniques can help to pull out uninteresting or unimportant rules for our data, but they little in the way of parsing the data we have found. Community detection provides a way to further filter our results by placing them into communities which can be used the base unit for analysis. Additionally, community detection can find rule clusters with substitutable items (butter and margarine) and help to pull out unneeded complexity.

slide-18
SLIDE 18

Fixed-Context rules as Network Fixed-Source rules as Network

Rules and Items as Bipartite Graph

slide-19
SLIDE 19

SpeakEasy Community Detection

Influences on choice of algorithm:

  • Label Propagation used based community detection resilient to graph topology.
  • History based approach reduces the impact of random initial conditions and prevents cascades.
  • Multiple runs reconciled with ARI to find most representative partition.
  • Does not require user to set the number of partitions.
  • Written here at RPI!
slide-20
SLIDE 20

SpeakEasy Community Algorithm

slide-21
SLIDE 21

Preliminary Results – Modular Rules

The first major category of communities were sets of rules where only a couple items differed from any given rule.

slide-22
SLIDE 22

Preliminary Results – Equivalent Items

The second set of Communities of note were communities where mutually exclusive items co-occurred.