Ba Unit 3 Own UA
Ba Unit 3 Own UA
Predictive analytics means using data to predict what is likely to happen in the
future.
It is done by analyzing past data (historical data) to find patterns and trends.
Businesses use it to forecast sales, predict customer behavior, reduce risk, and
improve decision-making.
1. Supervised Learning
o The algorithm learns from labeled data (input with correct answers).
o Example: Predicting customer churn (will a customer leave? Yes/No)
Common algorithms:
o K-Means Clustering
o Principal Component Analysis (PCA)
3. Reinforcement Learning (less common in forecasting)
o Algorithm learns through trial and error to make better decisions.
o Used in recommendation engines or robotic process automation.
1. Data Collection
o Collect historical business data like sales records, customer data, etc.
2. Data Cleaning & Preparation
o Remove missing, duplicate, or incorrect data
o Convert data into a form suitable for analysis
3. Feature Selection
o Choose the most relevant columns (features) for prediction (like price, season,
location)
4. Model Selection & Training
o Choose the right algorithm (e.g., Linear Regression)
o Train the model using historical data
5. Model Testing and Validation
o Check how well the model performs using test data
6. Deployment and Prediction
o Use the trained model to predict future outcomes
o Example: Predicting next month’s sales
1. Sales Forecasting
o Predict future sales based on past trends, seasons, and events
2. Customer Churn Prediction
o Identify customers who may stop using the service
3. Inventory Management
o Predict stock requirements and avoid overstock/understock
4. Credit Scoring and Risk Analysis
o Predict if a loan applicant is likely to repay
5. Marketing Campaign Optimization
o Predict which customers are most likely to respond to promotions
a. Customer Segmentation:
Businesses can segment customers based on their behavior, purchase history, and
demographics. Predictive models help target each segment with personalized offers,
improving engagement and conversions.
b. Churn Prediction:
Predictive models can identify customers who are likely to stop purchasing or unsubscribe.
This enables proactive retention strategies like personalized incentives or improved support.
It estimates the future value a customer will bring to the company over time. This helps in
prioritizing high-value customers and allocating marketing resources effectively.
By analyzing past purchases and behavior, businesses can predict which additional products
or upgrades a customer is likely to buy, thereby increasing average order value.
a. Decision Trees:
Decision trees classify customer behavior by dividing data into branches based on decision
rules. For example, customers can be categorized by their response to an offer based on age,
past purchases, or income level.
b. Regression Models:
Regression is used when predicting numerical values. For example, it can be used to predict a
customer’s total purchase amount based on variables like income, age, or website activity.
c. Neural Networks:
These models mimic the human brain and are especially effective in identifying complex
patterns in large datasets. Neural networks are used in applications like sentiment analysis
and personalized recommendations.
Machine learning models continuously learn from new data and refine their predictions.
Popular ML applications in marketing include recommendation engines, dynamic pricing,
and ad targeting.
4. The Predictive Analytics Process
The process of implementing predictive analytics for customer behavior involves the
following steps:
Clearly identify what needs to be predicted (e.g., which customers will churn, who will
respond to a new product offer).
b. Data Collection:
Gather relevant data from sources like CRM systems, transaction records, social media, and
customer surveys. Both structured and unstructured data are considered.
Clean the data to remove duplicates, fill missing values, and standardize formats. Feature
selection and transformation are also performed in this step.
d. Model Building:
Develop and train predictive models using historical data. Algorithms like logistic regression,
decision trees, and random forests may be used depending on the problem.
Test the model on unseen data to ensure its accuracy and reliability. Adjust the parameters if
necessary to improve performance.
Deploy the model in live systems where it can score new data in real time. Monitor its
performance continuously and retrain with new data as needed.
Tailored emails, product suggestions, and offers based on a customer’s browsing and buying
behavior improve engagement and loyalty.
b. Lead Scoring:
Sales teams can prioritize leads based on the likelihood of conversion, improving efficiency
and conversion rates.
c. Inventory Management:
Forecasting demand helps maintain optimal stock levels and avoid overstock or shortages
during promotional campaigns.
d. Pricing Strategies:
Predictive models can suggest optimal prices by analyzing market trends, competitor pricing,
and consumer behavior..
7. Benefits
Benefits:
Data Mining is like digging through a big pile of data to find hidden patterns and
relationships.
It helps businesses figure out what’s going on in their data — like what customers are
buying, when they buy, and what products are often bought together.
It doesn’t make predictions — it explains what's already happened.
In short: Data mining helps discover useful information from large sets of data.
🤝 How Are They Connected?
📈 Real-Life Example
Imagine Netflix recommending shows you’ll like — it uses Predictive Analytics based on
your watching history. First, it uses Data Mining to learn about your habits, then predicts
what you might want to watch next.
🔄 Quick Comparison
Purpose:
These models are used to predict future outcomes based on past data.
🔍 How it works:
Uses known results from existing data to predict unknown or future values.
Often based on statistics and machine learning.
Common in many fields like healthcare, insurance, finance, etc.
🧪 Real-life Uses:
Healthcare: Predicting which patients are at high risk of diseases like diabetes or
heart problems.
Insurance: Predicting the chances of a policyholder getting into an accident.
✔️ Classification
📈Regression
Types of Regression:
1. Linear Regression – Predicts a value using one feature (e.g., predicting someone's
weight based on height).
2. Multiple Linear Regression – Uses two or more features (e.g., predicting house
price using location, size, and age of the house).
Example: Predicting the amount a customer will spend based on past behavior.
Used when data is collected over time (like days, months, years).
Predicts future values based on past time-based data.
Example: Predicting future sales based on monthly sales data from the past year.
Purpose:
These models are used to find patterns or relationships in existing data, not to predict the
future.
📚 What It Does:
🔘Clustering
🔗Association Rules
Example: If someone buys bread, they often also buy butter – useful in market basket
analysis.
🔁Sequence Analysis
Example: A person who buys a phone might later buy a phone case, then earphones.
🧠 Different Stages of the Data Mining Process (Easy
Explanation)
Data mining is like digging through data to find useful patterns or information. It happens in
several steps:
This step joins data from different places like databases, files, or systems.
Example: Combining customer data from a website, mobile app, and retail store.
Often, this is done using a data warehouse (big central storage for data).
🔧 Goal: Get data in the right shape and format for analysis.
📏 4. Data Discretization (Breaking Continuous Data into Intervals)
Definition:
Logical models are based on human judgment, experience, and logic rather than numbers
or data. These models are used when not enough historical data is available, or the situation
is new or changing.
+--------------------+
| Expert Opinions |
+--------------------+
+--------------------+
| Assumptions/Rules |
+--------------------+
+--------------------+
| Forecast Scenarios |
+--------------------+
Key Features:
1. Expert Opinion:
o Decisions are made based on what experts think will happen in the future.
o Example: A marketing expert predicting sales based on market trends.
2. Delphi Method:
o A group of experts gives opinions anonymously over multiple rounds.
o After each round, feedback is given and experts can revise their answers.
o This method tries to reduce bias and reach a reliable consensus.
3. Market Research/Surveys:
o Collecting data directly from customers using questionnaires, polls, etc.
o Helps understand what customers might want in the future.
4. Scenario Building:
o Creating possible "what-if" situations (like best case, worst case, and
lexpected case) to plan for uncertainty.
o Often used in strategic business planning.
Disadvantages:
Definition:
These models use historical data and statistical techniques to identify patterns and make
forecasts. They are more mathematical, scientific, and objective than logical models.
+-----------------------+
| Historical Data |
+-----------------------+
+-----------------------+
+-----------------------+
+-----------------------+
| Statistical Modeling |
+-----------------------+
+-----------------------+
| Forecast Output |
+-----------------------+
Key Features:
Use numerical data and formulas to make predictions
Require past records like sales, profits, or production numbers
Depend on data quality and availability
More accurate for short-term and stable environments
Types:
Disadvantages:
1. Quantitative Forecasting
2. Qualitative Forecasting
Uses expert opinions and customer feedback when past data is unavailable.
Works best for short-term predictions.
Examples:
o Market Research: Surveys and interviews to understand customer
preferences.
o Delphi Method: Collecting opinions from experts without letting them
influence each other.
For example:
A new business with no past data will rely on qualitative methods like market
research.
An established business with sales records can use quantitative methods like time-
series analysis.
1. Identify the problem – What do you want to predict? (e.g., next quarter’s sales)
2. Collect data – Gather past records or conduct surveys.
3. Choose a forecasting method – Pick a technique that fits your data and needs.
4. Analyze the data – Look for patterns and trends.
5. Make predictions – Estimate what is likely to happen.
6. Verify the forecast – Compare predictions with actual results.
7. Improve the process – Learn from mistakes and adjust methods accordingly.
Business Forecasting: Uses past data to make a single prediction about the future.
Scenario Planning: Creates multiple possible scenarios to prepare for different
future possibilities.