Lecture notes for Mining I