





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Data mining comprises the core algorithms that enable one to gain fundamental insights and knowledge from massive data. It is an interdisciplinary field merging concepts from allied areas like database systems, statistics, machine learning, and pattern recognition. In fact, data mining is part of a larger knowledge discovery process, which includes pre-processing tasks like data extraction, data cleaning, data fusion, data reduction and feature construction, as well as post-processing steps like pattern and model interpretation, hypothesis confirmation and generation, and so on. This knowledge discovery and data mining process tends to be highly iterative and interactive. The algebraic, geometric and probabilistic viewpoints of data play a key role in data mining. Given a dataset of n points in a d-dimensional space, the fundamental analysis and mining tasks covered in this book include exploratory data analysis, frequent pattern discovery, data clustering, and classification models, which are described next.
Different Data Mining Tasks
There are a number of data mining tasks such as classification, prediction, time-series analysis, association, clustering, summarization etc. All these tasks are either predictive data mining tasks or descriptive data mining tasks. A data mining system can execute one or more of the above specified tasks as part of data mining.
Predictive data mining tasks come up with a model from the available data set that is helpful in predicting unknown or future values of another data set of interest. A medical practitioner trying to diagnose a disease based on the medical test results of a patient can be considered as a predictive data mining task. Descriptive data mining tasks usually finds data describing patterns and comes up with new, significant information from the available data set. A retailer trying to identify products that are purchased together can be considered as a descriptive data mining task.
a) Classification derives a model to determine the class of an object based on its attributes. A collection of records will be available, each record with a set of attributes. One of the attributes will be class attribute and the goal of classification task is assigning a class attribute to new set of records as accurately as possible. Classification can be used in direct marketing, that is to reduce marketing costs by targeting a set of customers who are likely to buy a new product. Using the available data, it is possible to know which customers purchased similar products and who did not purchase in the past. Hence, {purchase, don’t purchase} decision forms the class attribute in this case. Once the class attribute is assigned, demographic and lifestyle information of customers who purchased similar products can be collected and promotion mails can be sent to them directly.
b) Prediction task predicts the possible values of missing or future data. Prediction involves developing a model based on the available data and this model is used in predicting future values of a new data set of interest. For example, a model can predict the income of an employee based on education, experience and other demographic factors like place of stay, gender etc. Also prediction analysis is used in different areas including medical diagnosis, fraud detection etc.
c) Time - Series Analysis is a sequence of events where the next event is determined by one or more of the preceding events. Time series reflects the process being measured and there are certain components that affect the behavior of a
process. Time series analysis includes methods to analyze time-series data in order to extract useful patterns, trends, rules and statistics. Stock market prediction is an important application of time- series analysis.
d) Association discovers the association or connection among a set of items. Association identifies the relationships between objects. Association analysis is used for commodity management, advertising, catalog design, direct marketing etc. A retailer can identify the products that normally customers purchase together or even find the customers who respond to the promotion of same kind of products. If a retailer finds that beer and nappy are bought together mostly, he can put nappies on sale to promote the sale of beer.
e) Clustering is used to identify data objects that are similar to one another. The similarity can be decided based on a number of factors like purchase behavior, responsiveness to certain actions, geographical locations and so on. For example, an insurance company can cluster its customers based on age, residence, income etc. This group information will be helpful to understand the customers better and hence provide better customized services.
f) Summarization is the generalization of data. A set of relevant data is summarized which result in a smaller set that gives aggregated information of the data. For example, the shopping done by a customer can be summarized into total products, total spending, offers used, etc. Such high level summarized information can be useful for sales or customer relationship team for detailed customer and purchase behavior analysis. Data can be summarized in different abstraction levels and from different angles.
ISSUES IN DATA MINING
Mining Methodology and User Interaction Issues
It refers to the following kinds of issues −
Performance Issues
There can be performance-related issues such as follows −
Diverse Data Types Issues
complex ways. Some of the most important ideas and approaches, and try to point out the interrelationships among them. Specifically, we will discuss the following topics
Roughly speaking these items fall into 2 catagories : selecting data objects and attributes for the analyisis/ changing the attributes.
AGGREGATION is a process of combing 2 or more objects into single object. Quantitative attributes such as price are typically aggregated by taking a sum or an average. A qualitative attribute such as item can either be omitted or summarized as the set of all the items that were sold at the location. Aggregation is the process of eliminating attributes such as the type of item or reducing the number of values for a particular attribute. There are several motivation for aggregation. First, the smaller data sets resulting from data sets resulting from data reduction require less mwmory and processing time and hence aggregation may permit the use of more expensive data mining algorithms. Second aggregation can act as a change of scope or scale by providing a high levl view of the data instead of low level view. A disadvantage of aggregation is the potential loss of interesting details.
SAMPLING is a commonly used approach for selecting a subset of the data objects to be analyzed. Sampling can also be very useful in data mining. The motivation for sampling in statistics and data mining are often different. Statisticians use sampling because obtaining the entire set of data of interest is too expensive or time consuming while data miners sample because it is too expensive or time consuming to process all the data. Using a sample will work almost as well as using the entire data set if the sample is representative if it has approximately the same property as the orginal set of data.
Samplping Approaches the simplest type of sampling is simple random sampling. For this type of sampling there is an equal probability of selecting any particular item. There are two variations on random sampling 1. Sampling without replacement 2. Sampling with replacement. Stratified sampling which starts with prespecfied groups of objects equal numbers of objects are drawn from each group even though the groups are of different sizes. Progressive sampling the proper sample size can be difficult to determine so adaptive or progressive sampling schemes are sometimes used. These approaches start with a small sample and then increase the sample size until a sample of sufficient size has been obtained.
DIMENSIONALITY REDUCTION data sets can have a large number of features. There are a variety of benefit to dimensionality reduction. A key benefit is that many data mining algorithm work better if the dimensionality the number of attributes in the data is lower. Because dimensionality reduction can eliminate irrelevant feature and reduce noise. Another benefit is that a reduction of dimensionality can lead to a more understandable model because the model may involve fewer attributes. Also dimensionality reduction may allow the data to be more easily visualized. Finally the amount of time and memory required by the data mining algorithm is reduced with reduction in dimensionality.
The Curse of Dimensionality r
DATA WAREHOUSE Data warehousing is a collection of methods, techniques, and tools used to support knowledge workers—senior managers, directors, managers, and analysts—to conduct data analyses that help with performing decision-making processes and improving information resources. A data warehouse is a collection of data that supports decision-making processes. It provides the following features • It is subject-oriented. • It is integrated and consistent. • It shows its evolution over time and it is not volatile. Data warehouse systems are probably the systems to which academic communities and industrial bodies have been paying the greatest attention among all the DSSs. Data warehouses are subject-oriented because they hinge on enterprise-specific concepts, such as customers, products, sales, and orders. On the contrary, operational databases hinge on many different enterprise-specific applications. We put emphasis on integration and consistency because data warehouses take advantage of multiple data sources, such as data extracted from production and then stored to enterprise databases, or even data from a third party’s information systems.
A data warehouse should provide a unified view of all the data. Generally speaking, we can state that creating a data warehouse system does not require that new information be added; rather, existing information needs rearranging. This implicitly means that an information system should be previously available. Operational data usually covers a short period of time, because most transactions involve the latest data. A data warehouse should enable analyses that instead cover a few years. For this reason, data warehouses are regularly updated from operational data and keep on growing. If data were visually represented, it might progress like so: A photograph of operational data would be made at regular intervals. The sequence of photographs would be stored to a data warehouse, and results would be shown in a movie that reveals the status of an enterprise from its foundation until present. Fundamentally, data is never deleted from data warehouses and updates are normally carried out when data warehouses are offline. This means that data warehouses can be essentially viewed as read-only databases. This satisfies the users’ need for a short analysis query response time and has other important effects. First, it affects data warehouse–specific database management system (DBMS) technologies, because there is no need for advanced transaction management techniques required by operational applications. Second, data warehouses operate in read-only mode, so data warehouse–specific logical design solutions are completely different from those used for operational databases. For instance, the most obvious feature of data warehouse relational implementations is that table normalization can be given up to partially denormalize tables and improve performance.
Other differences between operational databases and data warehouses are connected with query types. Operational queries execute transactions that generally read/write asmall number of tuples from/to many tables connected by simple relations. For example, this applies if you search for the data of a customer in order to insert a new customer order. This kind of query is an OLTP query. On the contrary, the type of query required in data warehouses is OLAP. It features dynamic, multidimensional analyses that need to scan a huge amount of records to process a set of numeric data summing up the performance of an enterprise. It is important to note that OLTP systems have an essential workload core “frozen” in application programs, and ad hoc data queries are occasionally run for data maintenance. Conversely, data warehouse interactivity is an essential property for analysis sessions, so the actual workload constantly changes as time goes by.
The distinctive features of OLAP queries suggest adoption of a multidimensional representation for data warehouse data. Basically, data is viewed as points in space, whose dimensions correspond to many possible analysis dimensions. Each point represents an event that occurs in an enterprise and is described by a set of measures relevant to decisionmaking processes. Section 1.5 gives a detailed description of the multidimensional model you absolutely need to be familiar with to understand how to model conceptual and logical levels of a data warehouse and how to query data warehouses.
The following architecture properties are essential for a data warehouse system: • Separation Analytical and transactional processing should be kept apart as much as possible. • Scalability Hardware and software architectures should be easy to upgrade as the data volume, which has to be managed and processed, and the number of users’ requirements, which have to be met, progressively increase. • Extensibility The architecture should be able to host new applications and technologies without redesigning the whole system. • Security Monitoring accesses is essential because of the strategic data stored in data warehouses. • Administerability Data warehouse management should not be overly difficult. Two different classifications are commonly adopted for data warehouse architectures.
Three-Layer Architecture In this architecture, the third layer is the reconciled data layer or operational data store. This layer materializes operational data obtained after integrating and cleansing source data. As a result, those data are integrated, consistent, correct, current, and detailed. Figure 1-4 shows a data warehouse that is not populated from its sources directly, but from reconciled data. The main advantage of the reconciled data layer is that it creates a common reference data model for a whole enterprise. At the same time, it sharply separates the problems of source data extraction and integration from those of data warehouse population. Remarkably, in some cases, the reconciled layer is also directly used to better accomplish some operational tasks, such as producing daily reports that cannot be satisfactorily prepared using the corporate applications, or generating data flows to feed external processes periodically so as to benefit from cleaning and integration. However, reconciled data leads to more redundancy of operational source data. Note that we may assume that even two-layer architectures can have a reconciled layer that is not specifically materialized, but only virtual, because it is defined as a consistent integrated view of operational source data.
Multidimensional Data Model
Multidimensional data model stores data in the form of data cube. Mostly, data warehousing supports two or three- dimensional cubes. A data cube allows data to be viewed in multiple dimensions. A dimensions are entities with respect to which an organization wants to keep records. For example in store sales record, dimensions allow the store to keep track of things like monthly sales of items and the branches and locations. A multidimensional databases helps to provide data-related answers to complex business queries quickly and accurately. Data warehouses and Online Analytical Processing (OLAP) tools are based on a multidimensional data model.OLAP in data warehousing enables users to view data from different angles and dimensions.
Schemas for Multidimensional Data Model are:-
Star Schemas for Multidimensional Model The simplest data warehouse schema is star schema because its structure resembles a star. Star schema consists of data in the form of facts and dimensions. The fact table present in the center of star and points of the star are the dimension tables. In star schema fact table contain a large amount of data, with no redundancy. Each dimension table is joined with the fact table using a primary or foreign key.
Snowflake Schemas for Multidimensional Model The snowflake schema is a more complex than star schema because dimension tables of the snowflake are normalized. The snowflake schema is represented by centralized fact table which is connected to multiple dimension table and this dimension table can be normalized into additional dimension tables.
The major difference between the snowflake and star schema models is that the dimension tables of the snowflake model are normalized to reduce redundancies.
Fact constellation Schemas for Multidimensional Modal A fact constellation can have multiple fact tables that share many dimension tables. This type of schema can be viewed as a collection of stars, Snowflake and hence is called a galaxy schema or a fact constellation.
The main disadvantage of fact constellation schemas is its more complicated design.
Online Analytical Processing Server (OLAP) is based on the multidimensional data model. It allows managers, and analysts to get an insight of the information through fast, consistent, and interactive access to information. This chapter cover the types of OLAP, operations on OLAP, difference between OLAP, and statistical databases and OLTP. Types of OLAP Servers We have four types of OLAP servers – 1 Relational OLAP (ROLAP) 2 Multidimensional OLAP (MOLAP) 3 Hybrid OLAP (HOLAP) 4. Specialized SQL Servers