Cookies help us display personalized product recommendations and ensure you have great shopping experience.

By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
SmartData CollectiveSmartData Collective
  • Analytics
    AnalyticsShow More
    image fx (67)
    Improving LinkedIn Ad Strategies with Data Analytics
    9 Min Read
    big data and remote work
    Data Helps Speech-Language Pathologists Deliver Better Results
    6 Min Read
    data driven insights
    How Data-Driven Insights Are Addressing Gaps in Patient Communication and Equity
    8 Min Read
    pexels pavel danilyuk 8112119
    Data Analytics Is Revolutionizing Medical Credentialing
    8 Min Read
    data and seo
    Maximize SEO Success with Powerful Data Analytics Insights
    8 Min Read
  • Big Data
  • BI
  • Exclusive
  • IT
  • Marketing
  • Software
Search
© 2008-25 SmartData Collective. All Rights Reserved.
Reading: Why Defining the Target Variable in Predictive Analytics is Critical
Share
Notification
Font ResizerAa
SmartData CollectiveSmartData Collective
Font ResizerAa
Search
  • About
  • Help
  • Privacy
Follow US
© 2008-23 SmartData Collective. All Rights Reserved.
SmartData Collective > Analytics > Predictive Analytics > Why Defining the Target Variable in Predictive Analytics is Critical
Predictive Analytics

Why Defining the Target Variable in Predictive Analytics is Critical

DeanAbbott
DeanAbbott
6 Min Read
SHARE

Every data mining project begins with defining what problem will be solved. I won’t describe the CRISP-DM process here, but I use that general framework often when working with customers so they have an idea of the process.

Every data mining project begins with defining what problem will be solved. I won’t describe the CRISP-DM process here, but I use that general framework often when working with customers so they have an idea of the process.

Part of the problem definition is defining the target variable. I argue that this is the most critical step in the process that relates to the data, and more important than data preparation, missing value imputation, and the algorithm that is used to build models, as important as they all are.

The target variable carries with it allthe information that summarizes the outcome we would like to predict from the perspective of the algorithms we use to build the predictive models. Yet this can be misleading is many ways. I’m addressing one way we can be fooled by the target variable here, and please indulge me to lead you down the path.

More Read

Image
WOW! Big Data at Google
Untangling the Retail Supply Chain with Real-Time Analytics
Headup uses a proprietary semantic engine that cross references…
Interactive Analytics and OLAP – Part II
Build your own slide rule with R

Let’s say we are building fraud models in our organization. Let’s assume that in our organization, the process for determining fraud is first to identify possible fraud cases (by tips or predictive models), then assign the case to a manager who determines which investigator will get the case (assuming the manager believes there is value in investigating the case), then assign the case to an investigator, and if fraud is found, the case is tried in court, and ultimately a conviction is made or the party is found not guilty.

Our organization would like to prioritize which cases should be sent to investigators using predictive modeling. It is decided that we will use as a target variable all cases that were found to be fraudulent, that is, all cases that had been tried and a conviction achieved. Let’s assume here that all individuals involved are good at their jobs and do not make arbitrary or poor decisions (which of course is also a problem!)

Let’s also put aside for a moment the time lag involved here (a problem itself) and just consider the conviction as a target variable. What does the target variable actually convey to us? Of course our desire is that this target variable conveys fraud risk. Certainly when the conviction has occurred, we have high confidence that the case was indeed fraudulent, so the “1”s are strong and clear labels for fraud.

But, what about the “0”s? Which cases do they include?
–cases never investigated (i.e., we suspect they are not fraud, but don’t know)
–cases assigned to a manager who never assigned the case (he/she didn’t think they were worth investigating).
–cases assigned to an investigator but the investigation has not yet been completed, or was never completed, or was determined not contain fraud
–cases that went to court but was found “not guilty”

Remember, all of these are given the identical label: “0”

That means that any cases that look on the surface to be fraudulent, but there were insufficient resources to investigate them, are called “not fraudulent. That means cases that were investigated but the investigator was taken off the case to investigate other cases are called “not fraudulent”. It means too that court cases that were thrown out of court due to a technicality unrelated to the fraud itself are called “not fraud”.

In other words, the target variable defined as only the “final conviction” represents not only the risk of fraud for a case, but also the investigation and legal system. Perhaps complex cases that are high risk are thrown out because they aren’t (at this particular time, with these particular investigators) worth the time. Is this what we want to predict? I would argue “no”. We want our target variable to represent the risk, not the system.

This is why when I work on fraud detection problems, the definition of the target variable takes time: we have to find measures that represent risk and are informative and consistent, but don’t measure the system itself. For different customers this means different trade-offs, but usually it means using a measure from earlier in the process.

So in summary, think carefully about the target variable you are defining, and don’t be surprised when your predictive models predict exactly what you told them to!

TAGGED:predictive modeling
Share This Article
Facebook Pinterest LinkedIn
Share

Follow us on Facebook

Latest News

image fx (2)
Monitoring Data Without Turning into Big Brother
Big Data Exclusive
image fx (71)
The Power of AI for Personalization in Email
Artificial Intelligence Exclusive Marketing
image fx (67)
Improving LinkedIn Ad Strategies with Data Analytics
Analytics Big Data Exclusive Software
big data and remote work
Data Helps Speech-Language Pathologists Deliver Better Results
Analytics Big Data Exclusive

Stay Connected

1.2kFollowersLike
33.7kFollowersFollow
222FollowersPin

You Might also Like

Image
Big DataPredictive Analytics

How Predictive Modeling is Changing the Way We Work and Live

6 Min Read

Do Predictive Modelers Need to Know Math?

6 Min Read

Analytics In A Global Recession: Fixed Price Operational Dashboard

2 Min Read

Predictive Analytics World New York City Conference Announces Speaker Line-Up

5 Min Read

SmartData Collective is one of the largest & trusted community covering technical content about Big Data, BI, Cloud, Analytics, Artificial Intelligence, IoT & more.

ai is improving the safety of cars
From Bolts to Bots: How AI Is Fortifying the Automotive Industry
Artificial Intelligence
AI chatbots
AI Chatbots Can Help Retailers Convert Live Broadcast Viewers into Sales!
Chatbots

Quick Link

  • About
  • Contact
  • Privacy
Follow US
© 2008-25 SmartData Collective. All Rights Reserved.
Go to mobile version
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?