DS 227 · Graduate · UP Cebu

Welcome to Knowledge Discovery in Data

Finding a pattern in data is the easy part. Most of this course is about deciding which patterns are real, and being able to say why.

12 weeksFive stages
SaturdaysThree hours
Fully onlineSlides stay up
No prereqsNothing to install

The whole plan is on the next slide. Nothing on it is a surprise later.

Noel Jeffrey Pinton · Department of Computer Science

The plan

Twelve weeks, five stretches

Each stretch feeds the next. You cannot clean data you have not collected, and you should not tell a story about data you have not looked at.

Weeks 1–2

What KDD even is

KDD (Knowledge Discovery in Data, this course’s name): the gap between a pattern and a finding, then the frameworks people argue about — CRISP-DM, SEMMA, and the classic KDD process.

Weeks 3–6

Getting the data, then fixing it

Scraping web pages (copying data out of them with code), pulling from APIs, and the ethics of both. Then the unglamorous half: missing values, outliers (values far from all the others), and merging sources that disagree with each other.

Weeks 7–8

Actually looking at it

Descriptive statistics and exploratory analysis — one variable at a time, then several at once, where the interesting things usually hide.

Weeks 9–10

Telling someone

How data journalists find a story worth running, and how to build the narrative and dashboards that carry it to people who did not do the analysis.

Weeks 11–12

Ethics, then your turn

Privacy, and the harm this work can do when nobody checks. Week 12 you present what you built.

You do not need the other names on this slide yet. Each one (CRISP-DM, API, dashboard…) is explained, in everyday words, in the week it arrives.

What this course is

This course is about judgment, not just tools

Anyone can find a pattern. The hard part is deciding which patterns deserve to be called knowledge — and being able to defend that decision.

What you leave with

What you should be able to do by Week 12

Not “understand KDD”. These, specifically — they are what the weekly work and the final presentation actually ask of you.

How we work

Fully online — and that changes the rules

We meet on Saturdays for three contact hours. Everything around that is yours to schedule.

How to use these slides

Every weekly deck works the same way

Learn the layout once and you can study any week on your own, at your own speed.

Treat each deck like a textbook chapter you can click through: read, predict, reveal, and pause at the dark slides.

The weekly lab

Fill the ____, press Run, press Check

Each week has a short lab on the course page. The Python in it runs inside your web browser — nothing to install. Python is the programming language we use; code is written instructions the computer carries out exactly.

The slides show you an idea; the lab asks you to use it. A red error message is normal — read its last line first (it names the problem), change something, and run again.

Who is in the room

You come from different fields — that is the point

There are no prerequisites here beyond graduate standing. Some of you write code daily; some have never opened a terminal (a window where you type commands instead of clicking). Both belong in this room.

Doing well here

What separates the strong submissions

None of this is about being the best programmer in the room. It is mostly about habits.

Before our first session

Bring a dataset you actually care about

Two small things before we meet, and nothing to install — the Week 1 lab runs in your browser.

Words for Week 1

Eight words you will hear in Week 1

No need to memorise them now — Week 1 explains each one again, with examples. This is just so none of them is a surprise.

data

Recorded facts — numbers, text, dates — before anyone has interpreted them.

e.g. “7/1: 3 sachets kape” in a store’s notebook

dataset

A collection of data about one topic, usually arranged as a table.

e.g. a year of clinic visits, saved as one file

record (row)

One entry in a dataset: everything recorded about one thing or event.

e.g. one appointment; one sale

attribute (column)

One property every record has — a column. Data miners also call it a feature.

e.g. age, barangay, number of visits

pattern

A regularity that shows up across many records.

e.g. “coffee sales double before 7 AM on weekdays”

knowledge

A pattern that has passed four tests: valid, novel, useful, understandable.

e.g. “commuters buy coffee early: open at 6”

KDD

Knowledge Discovery in Data: the whole multi-step process from raw data to knowledge.

e.g. choose, clean, reshape, search, judge

data mining

The one step inside KDD where a method searches the data for patterns.

e.g. sorting shoppers into groups that buy alike

Next

Week 1 · Introduction to Knowledge Discovery

We open with the awkward question: when does a pattern earn the word knowledge? Then the five stages that take a raw file to something you would defend in front of someone who disagrees with you.

Week 1 slides are already on the course page. Read ahead if you want to.