Exercises and Assignments

Author

Sadamori Kojaku

Published

October 14, 2026

Pen and Paper: Invent the Definitions Before You Are Given Them

A pencil, two five-student study groups, and eight students to split into teams. Part 1 asks you to score both groups under four of the definitions from the lecture (k-core, k-plex, \rho-dense, n-clique) and to find which of them tell the groups apart. Part 2 asks for the cheapest cut, which peels off one student, and then for the ratio cut, which does not. Part 3 scores the same eight students with modularity and checks whether it needs to be told how many teams to make.

You work this in class, in the hands-on session after the lectures on cuts and modularity.

Be the Algorithm

The same tool as the concepts page, on all four networks. In each one you click a node to repaint it, the score updates on the spot, and the dashed line is the best score known for that network with that many colours.

Two things to take from the list. On the resolution-limit network, the partition that maximizes Q is not the one your eye picks: it merges the two small cliques, and the dashed line is set where the merge is. On the random network, the best Q you can reach is higher than the best Q on the two honest cliques. If a random network outscores a real one, what does a modularity score on its own actually tell you?

Assignments

Pair Notebook

Work through this module with the AI tutor and hand in the notebook that the session builds. What is graded is your reasoning, not your code — see the Pair Notebook guide for the setup and a walkthrough of a full session.

  • Repository for M05: coming soon. Your invitation link arrives through Classroom 50.

Group Mini-Project

Groups of up to three. One repository per group, graded once, with the same score going to every member of the group. Read how a mini-project runs first — exactly one person accepts the assignment and invites the rest, and that is the step teams get wrong.

  • Repository for M05: adv-net-sci-mini-proj-clustering. Accept the invitation through Classroom 50 first — the repository is not public, so the link only opens once you are enrolled.

Readers who are not enrolled in SSIE 641 cannot open the assignment repositories. The worksheet above and the hands-on notebook cover the same material and need no enrollment.