Unsupervised Learning in Python
Find the groups, the shape and the odd ones out in data that has no labels. Cluster, shrink and scan real datasets with scikit-learn, and see every result on a chart.
1,000+ codders enrolled
51 lessons51 challenges210 quiz questions
- Beginner friendly
AI-assisted coding help
Hands-on interactive lessons
Quizzes to test your knowledge
Free certificate of completion
Syllabus
This section is part of the Machine Learning Journey. The full syllabus has more sections - click any preview below to view it on the Journey page.
- Section 1Data and Plots60 lessons
- Section 2Statistics for ML64 lessons
- Section 3Supervised Learning58 lessons
Section 4
Unsupervised Learning
Start sectionStartExpandCollapseFind structure in data without labels: k-means, hierarchical and density clustering, PCA to see and compress many features, and anomaly detection, ending with a digits exploration project.Finding Groups
5 lessons520Choosing k
5 lessons520Reading Clusters
5 lessons520Hierarchical Clustering
4 lessons415Density Clustering
4 lessons415Fewer Dimensions
5 lessons520PCA in Practice
5 lessons520Anomaly Detection
5 lessons520Clusters at Work
4 lessons415Project: Digit Explorer
5 lessons525Final Challenges
4 lessons420
Learn by Doing
Write real code, query databases, build websites, and master AI prompts. Our interactive lessons cover every skill modern developers need.
Build Your Streak
Stay consistent and watch your progress grow! Track your daily coding habit, protect your streak with freeze days, and earn rewards for showing up every day.
12 days streak
Return tomorrow to keep your streak!
January 2026
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
21
22
23
24
25
26
27
28
29
30
Double or Nothing
Day 5 of 7
Streak Freeze
2 left
Code Anywhere
Take your coding journey on the go! No setup, no downloads - just open and start coding. Available on iOS, Android and Web with 4.9 star ratings.
You're Not Alone
Compete on global leaderboards, invite friends to earn rewards, and celebrate each other's wins. Coding is better with friends!
Every way to learn
Read, listen, test yourself, ask the AI, or look up anything you've already covered. Every lesson meets you where you are.
A variable is a named container that stores a value you can reference later in your program.
In Python, you create one by writing the name, an equals sign, then the value you want to store.
The value can change over time - reassigning the name simply points it to a new value.
Earn a Certificate
Earn certificates for every course you complete. Add them to your LinkedIn profile and resume to showcase your coding expertise to employers.
Why learn unsupervised learning with Coddy
- Clustering you can see. Watch k-means move its centers, read a dendrogram's merge heights, and see DBSCAN find moon-shaped groups that k-means cuts in half. Every lesson has a chart, and yours appears in the Plots tab as you run.
- The core methods: k-means, choosing k with the elbow and silhouette scores, hierarchical clustering, DBSCAN, PCA and explained variance, isolation forests and local outlier factor, all with scikit-learn.
- Results you can explain. You profile each cluster in real units, compare clusters with known labels, and name the segments a business would act on, instead of stopping at a list of cluster numbers.
- 64 dimensions made visible: handwritten digits projected onto a flat map, PCA components drawn as images, and pictures rebuilt from a few numbers.