Predictive Analytics (AI-702-A) Important Questions
By the Paperwala team · · Exam on Fri 18 Dec
These are the 10 Predictive Analytics (AI-702-A) topics we chose from the RGPV syllabus for RGPV B.Tech CSE-AI semester 7. No past paper of this subject is on this site yet, so we could not count repeats.
Answers: We wrote these answers with AI help from the real RGPV papers and the syllabus. A teacher has not checked them yet, so read them with your syllabus. How we make these
Chosen from the syllabus. No past paper of this subject is on this site yet, so repeats could not be counted.
Predictive Analytics important questions with answers
Each answer starts with a short answer. Then come how often it was asked, the points to write, a diagram and an exam tip. The topics are chosen from the syllabus.
Q1. Analytics: what and why, tools and the need for business modelling
Short answer.Analytics is the use of data, statistics and models to answer business questions and support decisions. Predictive analytics uses past data to estimate what will happen next, so a firm can act before it happens.
From the syllabus · Unit 1
From the papers
“Unit 1: What and Why Analytics, Introduction to Tools and Environment, Application of Modelling in Business, Need for Business Modelling.” (Syllabus)
Write these points
What analytics is
Descriptive: what happened? Reports and dashboards.
Predictive: what will happen? Regression, trees, forecasting.
Prescriptive: what should we do? Optimisation and decision rules.
Why analytics
Decisions based on evidence instead of guesswork.
Risks such as default or fraud are found early.
Need for business modelling: a model turns many records into one score a manager can use, again every month.
Tools and environment
Excel for small data, SQL to pull data.
R, Python (pandas, scikit-learn), SAS, SPSS for models.
Tableau or Power BI dashboards to share results.
Value of a churn model (from calc.py).
A telecom firm scores 1,00,000 customers and picks the top 5,000. Here 30 percent would leave, against 5 percent overall: lift 6.
Churners reached = 1,500. Offers save 40 percent, 600 customers worth Rs 2,000 each = Rs 12,00,000. Cost 5,000 x Rs 100 = Rs 5,00,000. Net gain Rs 7,00,000.
Remember. This set follows the AI-702(A) syllabus of CSE (Artificial Intelligence). AD-702(D), AL-702(C) and CSIT-702(D) have the same subject name but a different syllabus, so they are not covered here.
Real-life example
A kirana shop owner notices that bread and milk sell out every Sunday morning. He keeps extra stock on Saturday night. That is analytics done by eye. A supermarket chain does the same with lakhs of bills, so it needs data tools and a model.
Difference between descriptive and predictive analytics
Point
Descriptive
Predictive
Same or opposite
Uses historical data
Yes
Yes
Same
Question
What happened?
What will happen?
Opposite
Typical output
Report, chart
Score, forecast
Opposite
Methods
Sums, averages, charts
Regression, trees, time series
Opposite
Supports business decisions
Yes
Yes
Same
Exam tip. Start with a one line definition, then the three kinds of analytics with one question each. Name tools in groups. Close with why a business needs a model, with one number example.
Q2. Linear regression, assumptions, BLUE and least squares estimation
Short answer.Linear regression models a numeric target as a straight line function of inputs, y = b0 + b1 x + e. Least squares estimation picks b0 and b1 that make the sum of squared errors smallest, which under the classical assumptions gives BLUE estimates.
From the syllabus · Unit 1
From the papers
“Unit 1: Regression - Concepts, Blue property-assumptions-Least Square Estimation.” (Syllabus)
Write these points
Concepts
b0 is the intercept, b1 the change in y for one unit change in x.
The residual e = y - ŷ is the part the line does not explain.
Multiple regression uses many inputs: y = b0 + b1 x1 + ... + bk xk + e.
Assumptions
Linear relation between inputs and target.
Errors have mean zero.
Constant error variance (homoscedasticity).
Errors are not correlated with each other.
No exact linear relation among inputs (no perfect multicollinearity).
For tests and intervals, errors are normal.
BLUE property
BLUE means Best Linear Unbiased Estimator. By the Gauss-Markov theorem, when assumptions 1 to 5 hold, the least squares estimates have the smallest variance among all linear unbiased estimates. Normality is not needed for BLUE.
Least squares formulas
b1 = Σ(x - x̄)(y - ȳ) / Σ(x - x̄)^2.
b0 = ȳ - b1 x̄.
R squared = 1 - SSE / SST.
Least squares on five points (from calc.py).
x = 1, 2, 3, 4, 5 and y = 2, 4, 5, 4, 5. Means 3 and 4.
Σ(x - x̄)(y - ȳ) = 6 and Σ(x - x̄)^2 = 10, so b1 = 0.6 and b0 = 4 - 1.8 = 2.2.
Predictions 2.8, 3.4, 4.0, 4.6, 5.2. Residuals -0.8, 0.6, 1.0, -0.6, -0.2 add up to 0.
A coaching centre sees that students who study more hours score higher. The owner draws the best straight line through past students' hours and marks. He uses it to tell a new student roughly what an extra hour a day may add. That line is a least squares regression.
Difference between simple and multiple linear regression
Point
Simple
Multiple
Same or opposite
Fitted by least squares
Yes
Yes
Same
Number of inputs
One
Two or more
Opposite
Shape
Line
Plane or hyperplane
Opposite
Risk of multicollinearity
None
Yes
Opposite
Estimates are BLUE under the assumptions
Yes
Yes
Same
Exam tip. Write the model, the assumptions and the full form of BLUE. Then solve a five point example to b0, b1 and R squared. Draw the line with residuals.
Short answer.Logistic regression predicts the chance of a yes or no outcome. It models the log of the odds as a straight line, so p = 1 / (1 + e^-z) with z = b0 + b1 x.
From the syllabus · Unit 2
From the papers
“Unit 2: Logistic Regression: Model Theory.” (Syllabus)
Write these points
Model theory
The target is binary: default or not, buy or not.
z = b0 + b1 x1 + ... is the linear score, also called the logit.
The sigmoid turns z into p between 0 and 1.
Coefficients are found by maximum likelihood, not least squares.
e^b1 is the odds ratio: the odds multiply by this for one unit rise in x1.
Why not linear regression
A straight line can give p below 0 or above 1.
Errors of a 0 or 1 target are not normal and their variance is not constant.
Scoring one customer (from calc.py).
Fitted model z = -4 + 0.8x. For x = 5, z = 0 and p = 0.5, the boundary.
For x = 6, z = 0.8 and p = 1 / (1 + e^-0.8) = 0.69. Odds = 0.69 / 0.31 = 2.226.
Odds ratio e^0.8 = 2.226. Each extra unit of x multiplies the odds of yes by about 2.2.
At a cut-off of 0.5 this customer is classed as yes.
Real-life example
A bank officer looks at salary, existing loans and past repayment. He turns them into one score, then into a chance of default. If the chance is above the bank's limit the loan is refused. That is logistic regression used every day in Indian banking.
Difference between linear and logistic regression
Point
Linear
Logistic
Same or opposite
A linear score of inputs inside
Yes
Yes
Same
Target
Number
Yes or no
Opposite
Output range
Any value
0 to 1
Opposite
Fitting method
Least squares
Maximum likelihood
Opposite
Coefficients can be read for each input
Yes
Yes, as odds ratios
Same
Exam tip. Write the logit and sigmoid formulas. Draw the S curve with the cut-off. Compute p and the odds ratio for one input to show you can use the model.
Q4. Logistic regression: model fit statistics and model conclusion
Short answer.Model fit statistics tell how well a logistic model fits the data and whether its inputs matter. Model conclusion is the final judgement: keep, change or reject the model, written with its numbers.
From the syllabus · Unit 2
From the papers
“Unit 2: Logistic Regression: Model fit Statistics, Model Conclusion.” (Syllabus)
Write these points
Fit statistics
-2 log likelihood (deviance): smaller is better.
Likelihood ratio test: null deviance minus model deviance, a chi-square with df = number of inputs.
AIC = -2LL + 2(k + 1). Lower is better when comparing models.
Pseudo R squared (McFadden) = 1 - model deviance / null deviance.
Hosmer-Lemeshow test: compares observed and expected counts in groups. A large p-value means no sign of poor fit.
KS statistic and concordance are used in credit scoring.
Fit statistics (from calc.py).
Null deviance 250, model deviance 180, k = 3 inputs. LR chi-square = 70 with df 3. The 5 percent critical value is 7.815, so the inputs matter.
AIC = 180 + 2 x 4 = 188. McFadden R squared = 1 - 180 / 250 = 0.28.
Test set: TP 40, FP 10, FN 20, TN 130. Accuracy 0.85, precision 0.80, recall 0.667, F1 0.727, specificity 0.929.
Model conclusion
State the measures, check signs of coefficients against business sense, compare with a simpler model and confirm on a hold-out sample. Then say whether the model is accepted.
Real-life example
A cricket selector does not pick a player on one innings. He checks average, strike rate and form against strong teams before he decides. Model fit statistics are those checks for a model. The model conclusion is the selector's final yes or no.
Difference between AIC and the likelihood ratio test
Point
AIC
LR test
Same or opposite
Built from the log likelihood
Yes
Yes
Same
Purpose
Compare any models
Test if inputs add value
Opposite
Output
One score, lower is better
Chi-square and p-value
Opposite
Needs nested models
No
Yes
Opposite
Used for logistic models
Yes
Yes
Same
Exam tip. List four fit statistics with formulas. Work the LR test and AIC from given deviances. End with a clear conclusion sentence, as examiners give marks for it.
Q5. Tree building: regression and classification trees
Short answer.Tree building splits the data again and again on the input that best separates the target. A classification tree predicts a class and splits on entropy or Gini, while a regression tree predicts a number and splits on the fall in squared error.
From the syllabus · Unit 2
From the papers
“Unit 2: Tree Building - Regression, Classification, Over fitting, Pruning and complexity, Multiple Decision Trees.” (Syllabus)
Write these points
Steps
Start with all records at the root.
Try every input and cut point. Measure the purity of the children.
Pick the best split and divide the data.
Repeat on each child.
Stop at a depth limit, a minimum leaf size or no gain. Then prune.
Split measures
Entropy H = - Σ p log2 p. Information gain = parent H - weighted child H (ID3, C4.5).
Gini = 1 - Σ p^2 (CART).
Regression trees: choose the split with the lowest total SSE. Each leaf predicts its mean.
Classification and regression splits (from calc.py).
Outlook splits it into Sunny (2, 3), Overcast (4, 0), Rain (3, 2). Weighted entropy = 0.694, gain = 0.247, the largest, so Outlook is the root.
Regression targets 10, 12, 11, 30, 32, 31. Parent SSE = 604. Split into the first three and the last three: SSE = 2 + 2 = 4. Leaves predict 11 and 31.
Real-life example
A doctor checking a fever case asks: is the temperature above 102? If yes, is there a rash? Each question splits the patients into smaller groups. The doctor asks the question that sorts them fastest first. A tree chooses its splits the same way.
Difference between classification tree and regression tree
Point
Classification tree
Regression tree
Same or opposite
Built by recursive splitting
Yes
Yes
Same
Target
Class
Number
Opposite
Split measure
Entropy or Gini
SSE or variance
Opposite
Leaf output
Majority class
Mean value
Opposite
Needs pruning to avoid overfitting
Yes
Yes
Same
Exam tip. Write the entropy, Gini and gain formulas. Work one gain value. Draw the tree with counts at each node. Then show one SSE split for a regression tree.
Short answer.Overfitting happens when a tree learns noise in the training data, so it scores well on training data and poorly on new data. Pruning removes weak branches to control tree complexity and improve accuracy on new data.
From the syllabus · Unit 3
From the papers
“Unit 3: Tree Building - Regression, Classification, Over fitting, Pruning and complexity.” (Syllabus)
Write these points
Signs of overfitting
Very deep tree with tiny leaves.
Training error keeps falling while test error rises.
Rules that make no business sense.
Pre-pruning (early stopping)
Maximum depth.
Minimum records in a node or leaf.
Minimum gain or a chi-square test (CHAID) before a split.
Post-pruning
Grow a full tree, then cut back.
Cost complexity pruning (CART): R_α(T) = R(T) + α |T|, where R(T) is the error and |T| the number of leaves.
Choose α by cross-validation.
Reduced error pruning: remove a branch if the validation error does not rise.
Cost complexity (from calc.py).
Tree A: 8 leaves, error 0.10. Tree B: 3 leaves, error 0.14.
With α = 0.005: A = 0.10 + 0.04 = 0.14, B = 0.14 + 0.015 = 0.155. A wins.
With α = 0.01: A = 0.18, B = 0.17. The smaller tree B wins.
A student who learns past answers word by word does well on questions seen before and fails on new ones. That is overfitting. A student who learns the method does well on both. Pruning cuts the word by word branches so the tree keeps only the method.
Difference between pre-pruning and post-pruning
Point
Pre-pruning
Post-pruning
Same or opposite
Aim
Control overfitting
Control overfitting
Same
When applied
While growing
After full growth
Opposite
Cost to compute
Low
Higher
Opposite
Risk
Stops too early
Less risk of that
Opposite
Uses validation data to tune
Yes
Yes
Same
Exam tip. Define overfitting with the training and test error curve. Write the cost complexity formula. Work one example with two α values to show which tree is kept.
Q7. Multiple decision trees: bagging, random forest and boosting
Short answer.Multiple decision trees combine many trees into one ensemble that is more accurate and stable than a single tree. The main types are bagging, random forest and boosting.
From the syllabus · Unit 3
From the papers
“Unit 3: Multiple Decision Trees.” (Syllabus)
Write these points
Bagging
Draw many bootstrap samples (with replacement) of the training rows.
Grow one deep tree on each.
Average (regression) or vote (classification).
Random forest
Bagging plus a random subset of m inputs at every split.
A common default for classification is m = square root of the number of inputs.
Out-of-bag rows give a free test error.
Variable importance shows which inputs matter most.
Boosting
Trees are grown one after another.
Each new tree focuses on the errors of the earlier ones.
AdaBoost and gradient boosting are common forms.
Why many trees help (from calc.py).
With n = 1,000 rows, the chance that a row is left out of a bootstrap sample is (1 - 1/1000)^1000 = 0.368, close to 1/e.
Five independent trees, each right 70 percent of the time, vote. The majority is right with chance 0.837.
With 16 inputs, a random forest tries m = 4 inputs at each split.
Remember. Real trees are not fully independent, so the gain is smaller than 0.837 in practice. The example shows the idea only.
Real-life example
A TV quiz lets a contestant poll the audience. Each person may be unsure, but the most common answer is usually right. A random forest polls many trees that each saw slightly different data. The vote is steadier than any one tree.
Difference between bagging and boosting
Point
Bagging
Boosting
Same or opposite
Combines many trees
Yes
Yes
Same
Order of trees
Parallel, independent
One after another
Opposite
Main effect
Cuts variance
Cuts bias
Opposite
Weights on rows
Equal
Higher on errors
Opposite
Loses some interpretability
Yes
Yes
Same
Exam tip. Draw the bagging diagram first. Explain bagging, random forest and boosting in three short parts. The 0.368 out-of-bag figure is a good number to quote.
Short answer.ARIMA(p, d, q) is a time series model that combines AutoRegression on p past values, Integration by d differences and a Moving Average of q past errors. It forecasts a series after differencing has made it stationary.
From the syllabus · Unit 4
From the papers
“Unit 4: Time Series Methods / Forecasting: Arima.” (Syllabus)
Write these points
Parts
AR(p): y_t = c + φ1 y_t-1 + ... + φp y_t-p + e_t.
I(d): difference the series d times to remove trend.
MA(q): y_t = c + e_t + θ1 e_t-1 + ... + θq e_t-q.
Seasonal ARIMA adds seasonal terms (P, D, Q) with period s.
Stationarity
Mean and variance do not change with time.
Checked by plots, the ACF and unit root tests such as ADF.
Identification
Model
ACF
PACF
AR(p)
Dies away slowly
Cuts off after lag p
MA(q)
Cuts off after lag q
Dies away slowly
ARMA(p, q)
Dies away
Dies away
Differencing and an AR(1) forecast (from calc.py).
Series 100, 104, 109, 115, 122. First difference 4, 5, 6, 7 still rises. Second difference 1, 1, 1 is flat, so d = 2.
AR(1) with mean 50, φ = 0.6 and last value 60: forecast = 50 + 0.6 (60 - 50) = 56.
Next steps 53.6 and 52.16. Forecasts move back toward the mean.
Real-life example
A railway zone forecasts monthly ticket sales. Sales rise every year, so the planner first takes differences to remove the trend. Then this month's change is predicted from the last few changes and errors. That is ARIMA in use.
Difference between AR and MA models
Point
AR
MA
Same or opposite
Models a stationary series
Yes
Yes
Same
Uses
Past values
Past errors
Opposite
ACF pattern
Dies away
Cuts off at q
Opposite
PACF pattern
Cuts off at p
Dies away
Opposite
Part of ARIMA
Yes
Yes
Same
Exam tip. Expand ARIMA and write the AR and MA equations. Give the ACF and PACF table. Show a differencing example and the Box-Jenkins steps.
Short answer.Measures of forecast accuracy compare forecasts with actual values to judge a model. The common ones are ME, MAE, MSE, RMSE and MAPE, each built from the error e = actual - forecast.
From the syllabus · Unit 4
From the papers
“Unit 4: Measures of Forecast Accuracy.” (Syllabus)
Write these points
Measures
ME (mean error) = mean of e. Shows bias: over or under forecasting.
MAE = mean of |e|. Easy to read in the data's units.
MSE = mean of e^2. Punishes large errors more.
RMSE = square root of MSE, back in the data's units.
MAPE = mean of |e| / actual x 100. Unit free, but fails when actual is zero.
Good practice
Measure on a hold-out period, not on the data used to fit.
Compare with a simple benchmark such as the naive forecast.
A dairy forecasts how many litres of milk each booth will need. If the forecast is too low, customers go home empty. If it is too high, milk is wasted. The manager checks MAPE every week to see whether the forecast is getting better.
Difference between MAE and RMSE
Point
MAE
RMSE
Same or opposite
Built from forecast errors
Yes
Yes
Same
Treats errors
Equally
Squares them first
Opposite
Effect of one big error
Medium
Large
Opposite
Value in the example
3.5
3.808
Opposite
Lower is better
Yes
Yes
Same
Exam tip. Write each formula with its full form. Work all measures on one small table. Say which to use when large errors are costly.
Short answer. A Standard Operating Procedure (SOP) for documentation is a written set of steps that tells everyone how to create, review, store and share documents the same way. Its purpose and scope section says why the SOP exists, who must follow it and which documents it covers.
From the syllabus · Unit 5
From the papers
“Unit 5: Working with Documents (NOS 0703): Standard Operating Procedures for documentation and knowledge sharing, defining purpose and scope documents.” (Syllabus)
Write these points
Parts of an SOP
Title, number, version and date.
Purpose: the goal of the procedure.
Scope: teams, document types and systems covered.
Roles and responsibilities: author, reviewer, approver.
Procedure: numbered steps.
Templates, references and the change history.
Defining purpose and scope
Purpose answers why: for example, keep project reports consistent and easy to find.
Scope answers what and who: for example, all analytics reports of the data team.
Out of scope items are listed too, so there is no confusion.
Both are short, clear and approved.
Knowledge sharing
Store approved documents in one knowledge base with clear names.
Tag documents by project and topic.
Hold short reviews so lessons are written down, not lost when people leave.
Purpose and scope (sample input and output).
Input: the team says reports are hard to find and every analyst uses a different format.
Purpose: to make every model report follow one template and be stored in one place.
Scope: all model reports of the analytics team. Out of scope: emails and personal notes.
Real-life example
A hospital has an SOP for giving medicine. Every nurse follows the same steps, so a patient is safe whichever nurse is on duty. An SOP for documents works the same way. Any analyst can find, read and update a report because it follows the agreed steps.
Difference between purpose and scope of an SOP
Point
Purpose
Scope
Same or opposite
Part of every SOP
Yes
Yes
Same
Answers
Why
What and who
Opposite
Length
One or two sentences
Short list
Opposite
Lists exclusions
No
Yes
Opposite
Approved with the SOP
Yes
Yes
Same
Exam tip. List the parts of an SOP in order. Write a sample purpose and scope. Draw the SOP life cycle and mention knowledge sharing.
What are the most important topics in Predictive Analytics?
No past paper of this subject is on this site yet, so the topics were chosen from the syllabus. The first five: Analytics: what and why, tools and the need for business modelling; Linear regression, assumptions, BLUE and least squares estimation; Logistic regression: model theory; Logistic regression: model fit statistics and model conclusion; Tree building: regression and classification trees.
How were these Predictive Analytics important questions chosen?
Each topic was taken from the syllabus units. No past paper was available to count repeats, and the answers are not teacher-reviewed, so use them together with your syllabus.
Is there a PDF of Predictive Analytics important questions with answers?
Yes. The Paperwala Imp Question & Answer PDF for Predictive Analytics is free to download from this page.
The 10 topics of Predictive Analytics (AI-702-A) for RGPV B.Tech CSE-AI semester 7, chosen from the syllabus. No past paper of this subject is on this site yet, so repeats could not be counted.