DS 227 · Graduate · UP Cebu

Knowledge Discovery in Data

Finding patterns in data is comparatively easy. This course concentrates on deciding which patterns are real and justifying that decision.

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

The next slide gives the full course plan.

Noel Jeffrey Pinton · Department of Computer Science

Outline

Course structure: twelve weeks in five stages

Each stage depends on the previous one: data must be collected before it is cleaned, and explored before it is reported.

Weeks 1–2

Foundations of KDD

KDD (Knowledge Discovery in Data, this course’s name): the distinction between a pattern and a finding, and the main process frameworks: CRISP-DM, SEMMA and the classic KDD process.

Weeks 3–6

Data acquisition and cleaning

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

Weeks 7–8

Exploratory analysis

Descriptive statistics and exploratory analysis, first of one variable at a time and then of several variables jointly.

Weeks 9–10

Communication

How data journalists identify a newsworthy story, and how narratives and dashboards convey findings to people who did not do the analysis.

Weeks 11–12

Ethics and final presentations

Privacy, and the harm that unchecked analysis can cause. In Week 12 students present their projects.

The other names on this slide (CRISP-DM, API, dashboard…) are not needed yet. Each is explained in everyday words in the week it is introduced.

Course focus

Judgment about findings, in addition to tools

Patterns are easy to find. The central task is deciding which patterns qualify as knowledge and defending that decision.

Learning objectives

Expected competencies by Week 12

The weekly work and the final presentation assess the following specific competencies.

Course format

Fully online delivery

Sessions are held on Saturdays for three contact hours. All other study time is self-scheduled.

Using the slides

Common layout of the weekly decks

All decks share one layout, so any week can be studied independently and at any pace.

Each deck works like a textbook chapter viewed slide by slide: read, predict, reveal, and pause at the dark slides.

Weekly lab

Lab workflow: fill the ____, run, check

Each week has a short lab on the course page. Its Python code runs inside the web browser, so no installation is required. Python is the programming language used in this course; code is written instructions the computer carries out exactly.

The slides present an idea; the lab applies it. Red error messages are normal: read the last line first (it names the problem), revise the code, and run it again.

Student backgrounds

Students from different disciplines

The only prerequisite is graduate standing. Some students write code daily; others have never opened a terminal (a window for typing commands instead of clicking). The course is designed for both groups.

Guidelines

Habits associated with strong submissions

Strong submissions depend mainly on study habits, not on programming skill.

Preparation for the first session

Choosing a dataset of personal interest

Short preparation tasks precede the first session. No installation is needed: the Week 1 lab runs in the browser.

Key terms

Eight key terms for Week 1

Memorisation is not required at this stage; Week 1 explains each term again with examples.

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

Week 1 · Introduction to Knowledge Discovery

Week 1 first defines the conditions under which a pattern qualifies as knowledge, then presents the five stages that take a raw file to a finding that can withstand critical review.

Week 1 slides are already available on the course page for advance reading.