Computational Techniques for HCDE
HCDE 530 Syllabus (Winter 2018)
Meeting Schedule
Week 1
Lecture:
Intro to HCDE 530
Lecture:
Some Help with Installing Python
Lecture:
Intro to Python - Part 1
Sample Code
counter.py
bob1_sample.py
bob2_sample.py
Week 2
No Meeting - Class Cancelled
Week 3
Lecture:
Intro to Python - Part 2
Lecture:
Class Activity
Lecture:
Intro to Python - Part 3
Sample Code
control_flow.py
file_example.py
Person.py
Student.py
Sample Data
testfile.txt
Activity Data
user_hobbies_5.txt
-
user_hobbies_11.txt
-
user_hobbies_15.txt
-
user_hobbies_dict.txt
Week 4
Lecture:
Intro to Twitter & HCDE Module Setup
Lecture:
Storing Tweets and Connecting to DBs
Suggested Reading
Russell, Chapter 1, Pages 5-19
Russell, Chapter 6, Pages 240-263
Sample Code
HCDE Module (January 18, 2018 release)
Saving/restore data as Pickle and JSON
Sample Data
sample_tweets.json
Week 5
Lecture:
Collecting Tweets with Search
Lecture:
Elementary Text Analysis
Suggested Reading
Russell, Chapter 1, Pages 20-44
Sample Code
Example using Search object from Search.py
Example of parsing hashtags
Example parsing with regular expression
Example frequency count and PrettyTables
Example with bigrams and trigrams using nltk
Week 6
Lecture:
Collecting Tweets with User Timelines
Lecture:
Building Interactive Web Visualization, lecture 1 (Nan Chen)
Suggested Reading
Russell, Chapter 3 Section 3.3, Pages 97-131
Russell, Chapter 4 Sections 4.3 & 4.4, Pages 147-178
Sample Code
Example of using UserTimeline object from UserTimeline.py
Example of using Update object from Update.py
Vis Code Examples - hcde530-w18-vis-lecture1-codes.zip
Week 7
Lecture:
Tweet Analysis - TF-IDF & Jaccard Distance
Lecture:
Visualization in the Web, part 2 (Nan Chen)
Sample Code
Example code to calculate tweet doc TF-IDF
Example code to work with Jaccard distance and clustering
Vis Code Examples - hcde530-w18-vis-lecture2-codes.zip
Week 8
Lecture:
Collecting User Profiles
Lecture:
Analyzing the Social Graph
Suggested Reading
Russell, Chapter 2 Sections 2.3.2.2 & 2.3.2.3, Pages 78-85
Russell, Chapter 7 Sections 7.3 & 7.4, Pages 288-317
Sample Code
Example of using UserLookup object from UserLookup.py
Example of using FriendsFollowers object from FriendsFollowers.py
Example of using Networkx to create graphs
Week 9
Lecture:
Analyzing Data by ML Classification
Sample Code
Example code to consider feature selection
Example code to explore classifiers
Example code to explore sentiment analysis with VADER
Sample Data
fitness_label_data1.csv
fitness_label_data2.csv
Some Oscar 2016 data
Week 10
Project Presentations
Final Comments - Directions you might take from here
Finals Week
No Meeting