UThe University of Utah · David Eccles School of BusinessACCTG 6155
Week 12, Unsupervised Learning
For two weeks the Summit Gear table had an answer column to predict. This week there is none. k-means sorts the 2,200 accounts into groups that look alike, you check whether the groups mean anything, and then you look for the accounts that fit no group at all. Nov 16 to 22.
DueSunday, November 22, 11:59 PM MTLab 12, Homework 12 and the Project 4 proposal. Do the lab first.
Live sessions, optional and recordedMon, Nov 16 and Wed, Nov 183:40 to 5:00 PM MT. Both sections are welcome at either one.
The week at a glance
17.8% to 22.9%
default rate in each of four clusters found with no answer column, against 19.9% overall (dashed line). The clusters sorted accounts by size, and size says little about default here.
Distance
Two accounts are alike when their numbers are close. Distance turns that into one number.
Scaling
Dollars swamp counts. Put every column in the same units first, or the biggest numbers decide everything.
k-means
Pick k centers, give every account to the nearest, move each center to the middle of its accounts, repeat.
Fits nowhere
An account far from every center is worth a look. Unusual is not the same as risky, so a flag is where a review starts.
This week
Work through the week in this order: the deck, the trainer, the lab, then the homework. Mac's videos are optional background.
What a model can find with no answer column: distance, scaling, k-means, choosing k, reading clusters and checking them, then the accounts that fit no cluster. The Ask AI tutor is built in.
Group Summit Gear's customers. One notebook, three exercises: distance and scaling, choosing and reading the clusters, and the accounts that fit nowhere.
Open it, then File, then Save a copy in Drive, and work in your copy. Run every cell top to bottom and upload it as <uID>_lab_12.ipynb.
Homework 12In Canvas
Build a k-means explainer for yourself with any AI and upload it, check your understanding with a few questions and one point worked by hand, then five questions on cluster tables. One attempt.
Project 4 proposalIn Canvas
A short quiz about your capstone: the question, the data, the methods, a safe-data check and the biggest risk. A complete proposal gets the full 10 points.
Videos for this weekIn Canvas
Mac Gaulin's unsupervised learning module, on the Videos page in the Week 12 module. All five are optional, with notes on where his terms differ from ours.
Four quick examples in 3D, from exam scores to vendors. Guess how many groups you see, then let k-means try. Load your own CSV; it never leaves your browser.
k-means on the Summit Gear accounts. Turn scaling on and off, step the centers, ring the farthest accounts, and bring the default column back to see whether the clusters mean anything.