An introduction to theory of learning, c.1-2