Describe the various types of data mining functionalities and the kinds of patterns they can discover.