Difference between revisions of "Finding Paul Revere"
(→Functional Explanations) |
|||
Line 52: | Line 52: | ||
* Matrix multiplication relies on [[Dot Product]] to multiply various combinations of rows and columns. A thing about multiplying matrices is that the order matters. | * Matrix multiplication relies on [[Dot Product]] to multiply various combinations of rows and columns. A thing about multiplying matrices is that the order matters. | ||
− | * Adjacency | + | * Adjacency Matrix: |
+ | |||
+ | <youtube>SHYAQHDQoU4</youtube> | ||
+ | |||
+ | * Eigenvectors: | ||
+ | |||
+ | <youtube>PFDu9oVAE-g</youtube> | ||
=== Optional using Google Drive for datastore === | === Optional using Google Drive for datastore === | ||
Option 6b. How to upload from a local file on your computer to Colab by watching 6:30 minutes into the same video. [https://colab.research.google.com/notebooks/io.ipynb#scrollTo=p2E4EKhCWEC5 From this Colab's Help Notebook 'Copy and Paste' per the video] | Option 6b. How to upload from a local file on your computer to Colab by watching 6:30 minutes into the same video. [https://colab.research.google.com/notebooks/io.ipynb#scrollTo=p2E4EKhCWEC5 From this Colab's Help Notebook 'Copy and Paste' per the video] |
Revision as of 21:33, 16 July 2019
YouTube search... ...Google search
- Using Metadata to Find Paul Revere | Kieran Healy
- The data come from an appendix to David Hackett Fischer's Paul Revere's Ride (Oxford University Press, 1995)
- The Other Ride of Paul Revere: The Brokerage Role In The Making of The American Revolution | Shin-Kap Han
London, 1772.
I have been asked by my superiors to give a brief demonstration of the surprising effectiveness of even the simplest techniques of the new-fangled Social Networke Analysis in the pursuit of those who would seek to undermine the liberty enjoyed by His Majesty’s subjects. This is in connection with the discussion of the role of “metadata” in certain recent events and the assurances of various respectable parties that the government was merely “sifting through this so-called metadata” and that the “information acquired does not include the content of any communications”. I will show how we can use this “metadata” to find key persons involved in terrorist groups operating within the Colonies at the present time. I shall also endeavour to show how these methods work in what might be called a relational manner...
Contents
To play... get resources
1. Download from Kieran Healy files for reference | Github
2. Download from Mark Bernnico's cloned files | GitHub
3. Upload to your Google Drive Boston - 1776.ipynb & PaulRevereAppD.csv
Notebook Setup
4. Obtain a Colaboratory account; Note: Open to recent files
5. Setup Colab app in your Google Drive account by watching 1:45 minutes into this video:
6. How to upload from a local file on your computer to Colab by watching the following video, and from this Colab's Help Notebook 'Copy and Paste' into new cells per the video
7. Note: As you step though the notebook, you will need to put parenthesis around two print statements; print(people_x_groups.shape) & print(groups_x_people.shape)
8. Save your notebook; File | Save <or> CNTRL+S
9. Extra credit: Edit the notebook to graph organizations as shown in Healy's article.
Functional Explanations
- Matrix multiplication relies on Dot Product to multiply various combinations of rows and columns. A thing about multiplying matrices is that the order matters.
- Adjacency Matrix:
- Eigenvectors:
Optional using Google Drive for datastore
Option 6b. How to upload from a local file on your computer to Colab by watching 6:30 minutes into the same video. From this Colab's Help Notebook 'Copy and Paste' per the video