Posts

Introduction to Predictive Analytics (video blog)

I recently presented at an event in Nashville introducing Predictive Analytics to the audience and demonstrating some live applications.  Here is the video:  http://vimeo.com/80917063

Customer Profiling (guest author: Paul Cook)

Image
Profiling is a data mining technique used to find patterns and trends in customer data. In today's post we will explore the application of this technique. As we will demonstrate in this article, profiling is both simple and powerful. Its great strength is its simplicity. It is ideal for communicating large amounts of information in a user-friendly way. Profiles are clear, comprehensive, and easy to read, which makes them ideal for communicating with a business or non-technical audience. Profiling describes a group of people by summarizing information about them. Profiles are typically used to answer questions like: What do my customers look like? Which prospects are most likely to buy? What drives customer churn? Often, a profile is all you need to answer these questions. Other times, you may choose to use a profile for exploratory data analysis before multivariate modelling. Profiling is often used to find hot prospects for marketing campaigns. By comparing...

Introduction to Classification & Regression Trees (CART)

Image
Decision Trees are commonly used in data mining with the objective of creating a model that predicts the value of a target (or dependent variable) based on the values of several input (or independent variables).  In today's post, we discuss the CART decision tree methodology.  The CART or Classification & Regression Trees methodology was introduced in 1984 by Leo Breiman , Jerome Friedman , Richard Olshen and Charles Stone as an umbrella term to refer to the following types of decision trees: Classification Trees : where the target variable is categorical and the tree is used to identify the "class" within which a target variable would likely fall into. Regression Trees : where the target variable is continuous and tree is used to predict it's value. The CART algorithm is structured as a sequence of questions, the answers to which determine what the next question, if any should be.  The result of these questions is a tree like structure where the...

Data Mining and Airline Safety

Image
In today's post, we examine the use of data mining to improve airline safety.  Over the past several decades, air travel has become, statistically, one of the safest modes of transportation.  In the following chart, you will observe that there has been a substantial decline in the fatal accident rate from 1950 through about 1980, even though the actual number of departures has increased significantly: [Source: Handbook of Statistical Analysis and Data Mining; Nisbet, Elder, Miner, pp 378] Since 1980 however, the decline in fatalities has somewhat stabilized which probably indicates that new thinking and new safety approaches are needed to further push down the rate of fatalities.  One such approach could be the use of data mining in determining the causes of fatalities so that preventative action may be taken.  In this post, we will use publicly available data on airline safety to identify main causes of accidents and thereafter identify which the main predicto...

Introduction to the K-Nearest Neighbor (KNN) algorithm

Image
In pattern recognition, the K-Nearest Neighbor algorithm (KNN) is a method for classifying objects based on the closest training examples in the feature space.  KNN is a type of instance-based learning, or lazy learning where the function is only approximated locally and all computation is deferred until classification.  The KNN algorithm is amongst the simplest of all machine learning algorithms: an object is classified by a majority vote of its neighbors, with the object being assigned to the class most common amongst its k nearest neighbors (k is a positive integer, typically small).  If k = 1, then the object is simply assigned to the class of its nearest neighbor [Source: Wikipedia]. In today's post, we explore the application of KNN to an automobile manufacturer that has developed prototypes for two new vehicles, a car and a truck.  Before introducing the new models into its range, the manufacturer wants to determine which of the existing models in the ma...

Feature selection for efficient modeling

Image
Feature selection, also known as variable selection, feature reduction, attribute selection or variable subset selection is the technique of selecting a subset of relevant features for building robust learning models (Source: Wikipedia).  Data mining problems may involve hundreds, or even thousands, of variables that can potentially be used as inputs.  As a result, a great deal of time and effort may be spent examining which variables to include in the model.  Feature selection allows us to identify the most important variables to be used in the modeling process which can lead to the following benefits: Speed up model building : by using only the most important variables in model building, feature selection enables us to significantly reduce processing times thereby speeding up model building.  The greater the number of potential "input" variables, the greater is the improvement in model building speed by using feature selection. Reduction in time and cost...

An Introduction to Social Network Analysis

Image
Social network analysis  (SNA) is the methodical analysis of  social networks .  Social network analysis views  social relationships  in terms of  network theory , consisting of  nodes  (representing individual actors within the network) and  ties  (which represent relationships between the individuals ) .   These networks are often depicted in a social  network diagram , where nodes are represented as points and ties are represented as lines. Example of a social network diagram Relationships in a network can either be directional or nondirectional .  In a directional relationship, one person is the initiator (or source of the relationship) while the other is the receiver (or destination of the relationship).  For example, in the diagram above, node 1269 is the source while node 3777 is the destination.  Relationships can also be described as dichotomous or valued .  A dichotomous relationship i...