Fundamentals of Learning Theory