Session Overview
![]() |
This lecture begins by finishing up k-means clustering. It then moves on to introduce the notion of modeling things using graphs (sets of nodes and edges that link them).
|
Session Activities
Lecture Videos
-
Lecture 21: Using Graphs to Model Problems, Part 1 (00:50:51)
Lecture 21: Using Graphs to Model Problems, Part 1
> Download from iTunes U (MP4 - 123MB)
> Download from Internet Archive (MP4 - 123MB)
About this Video
Topics covered: Pseudocode, graphs, nodes, edges, adjacency matrix, adjacency list.
Resources
Check Yourself
What are filters used for?
› View/hide answer
What is a graph?
› View/hide answer
What is a digraph?
› View/hide answer
What is a weighted graph?
› View/hide answer
Based on the code in the handout, why is Graph a subclass of Digraph, rather than the other way around?
› View/hide answer