Target Variables in Predictive Analytics
What is a Target Variable?
In predictive analytics, the target variable (also known as the dependent variable) is the main outcome or
result you want to predict. It is the value that the model tries to forecast based on other available data (called
features or independent variables).
Types of Target Variables
1. Categorical Target Variable
- Values are categories or labels.
- Used in classification problems.
- Examples: Spam or Not Spam, Disease Present or Not, Product Category (A, B, C)
2. Numerical Target Variable
- Values are continuous numbers.
- Used in regression problems.
- Examples: House Prices, Sales Revenue, Temperature Forecast
Examples of Target Variables by Domain
Healthcare: Patient Survival (Yes/No)
Finance: Loan Default Risk (Yes/No)
Retail: Customer Purchase Amount
Education: Student Exam Scores
Marketing: Email Response (Clicked/Not)
Importance of Target Variable
- It determines the type of machine learning model (classification or regression).
- Accuracy and performance are measured based on how well the model predicts the target.
- The correct selection and understanding of the target variable is critical for building a meaningful and
accurate predictive model.