AL-702-B Advanced Machine Learning

Advanced Machine Learning (AL-702-B) Important Questions

The most asked Advanced Machine Learning (AL-702-B) topics in RGPV papers are Artificial neural network and the cost function, Gradient descent in backpropagation, Multilayer perceptron and Recursive induction in decision trees. We read the RGPV B.Tech CSE-AIML semester 7 papers from 2025 and counted every question. Artificial neural network and the cost function, Gradient descent in backpropagation, Multilayer perceptron and Recursive induction in decision trees came once each.

Download Paperwala Imp Question & Answer (PDF)

How we made this list
  • Exams counted: 2025
  • All papers on this site: 1 (2025 to 2025)
  • Units asked most: Unit 1 and Unit 2
  • 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

10 most repeated Advanced Machine Learning topics (2025)

Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.

Advanced Machine Learning 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 questions under each topic are copied from the RGPV papers.

Q1. Artificial neural network and the cost function

Short answer. An artificial neural network (ANN) is a model of connected nodes in layers that apply an activation function to weighted sums. The cost function measures how wrong the output is.

Asked 1 time in 2025 · Unit 1

From the papers

  • “Define Artificial Neural Networks. What is the role of the cost function in training Artificial Neural Networks?” (December 2025)

Write these points

Parts of an ANN

  • Input layer: takes the features.
  • Hidden layers: learn useful combinations of the inputs.
  • Output layer: gives the class or the value.
  • Weights and biases: the numbers that are learned.

Role of the cost function

  1. It gives one number for the error over the training data.
  2. It tells the optimiser which direction reduces the error.
  3. Its choice fits the task: mean squared error for values, cross entropy for classes.
  4. A lower cost on new data means the model has learned well.

Formula for mean squared error: J = (1/n) sum of (y minus t) squared, where y is the prediction and t is the target.

One cost value.

Targets are 3 and 5. Predictions are 2 and 7.

Squared errors are 1 and 4. The mean is 2.5.

Training changes the weights to push this number down.

Real-life example

A student checks a practice test score after each attempt. The score shows how far they are from the right answers and what to fix next. The cost function is that score for the network.

Figure: layers of a neural network
Figure: layers of a neural network

Difference between Cost function for values and for classes

PointMean squared errorCross entropySame or opposite
Measures the gap between prediction and targetYesYesSame
Usual taskRegressionClassificationOpposite
Works with probabilitiesNot neededYesOpposite
Is minimised in trainingYesYesSame

Exam tip. Define the network in two lines. Then list the four jobs of the cost function. Add the formula.

Back to the topic list

Q2. Gradient descent in backpropagation

Short answer. Backpropagation finds the gradient of the cost with respect to every weight. Gradient descent then uses it to move each weight a small step downhill.

Asked 1 time in 2025 · Unit 1

From the papers

  • “Describe the role of gradient descent in the backpropagation process. How does it influence weight updates?” (December 2025)

Write these points

Steps

  1. Forward pass: compute the output and the cost.
  2. Backward pass: use the chain rule to find the gradient for each weight, layer by layer.
  3. Update: w new = w old minus (learning rate x gradient).
  4. Repeat over many batches until the cost stops falling.

Effect on weights

  • A weight with a positive gradient is reduced. A negative gradient raises it.
  • A large learning rate can overshoot. A small one is slow.
  • Variants: batch, mini batch, stochastic, momentum and Adam.

One update.

Model y = w x + b with x = 2, target 10, w = 1, b = 0, rate 0.05.

Prediction 2, error minus 8. Gradient for w is minus 16 and for b is minus 8.

New w = 1 + 0.8 = 1.8 and new b = 0.4. The prediction becomes 4.0.

Real-life example

A walker in fog on a hill feels the slope under the feet and takes a small step downward. Repeating this reaches the valley. The gradient is the slope.

Figure: gradient descent in training
Figure: gradient descent in training

Difference between Backpropagation and gradient descent

PointBackpropagationGradient descentSame or opposite
Needed to train the networkYesYesSame
JobFinds the gradientsUses them to update weightsOpposite
Uses the chain ruleYesNoOpposite
Repeated every batchYesYesSame

Exam tip. Write the update rule. Show one numerical step if there is space.

Back to the topic list

Q3. Multilayer perceptron: architecture and learning

Short answer. A multilayer perceptron (MLP) has an input layer, one or more hidden layers and an output layer. It learns by forward pass, error calculation and backpropagation.

Asked 1 time in 2025 · Unit 1

From the papers

  • “Describe the architecture and learning process of a multilayer perceptron.” (December 2025)

Write these points

Architecture

  • Layers are fully connected and the signal moves forward only.
  • Hidden nodes use a non linear activation such as ReLU or sigmoid.
  • Without non linearity many layers would collapse to one linear map.
  • The output activation depends on the task: softmax for classes.

Learning process

  1. Start with small random weights.
  2. Forward pass to get the output.
  3. Compute the cost.
  4. Backpropagate the error to get gradients.
  5. Update weights by gradient descent. Repeat for many epochs.

Forward pass.

Input (1, 0). Hidden weights 0.5 and 0.3. Sigmoid activation.

Hidden outputs are 0.622 and 0.574. Output weights 0.6 and minus 0.2.

Output = sigmoid(0.373 minus 0.115) = 0.564.

Real-life example

A factory line passes a part through several stations. Each station changes it a little. If the result is bad, the supervisor sends feedback back along the line so each station adjusts.

Figure: learning cycle of an MLP
Figure: learning cycle of an MLP

Difference between Single perceptron and MLP

PointSingle perceptronMLPSame or opposite
Uses weights and an activationYesYesSame
Hidden layersNoneOne or moreOpposite
Learns XORNoYesOpposite
Trained by error feedbackYesYesSame

Exam tip. Draw the layers. Then give the five learning steps in order.

Back to the topic list

Q4. Recursive induction in decision trees

Short answer. Recursive induction builds a decision tree top down. At each node the algorithm picks the best feature to split on and then repeats the same step on every child node until a stopping rule is met.

Asked 1 time in 2025 · Unit 2

From the papers

  • “What is recursive induction in decision trees? Explain.” (December 2025)

Write these points

Steps

  1. Start with all training data at the root.
  2. Choose the split with the best score, such as information gain or Gini index.
  3. Divide the data into child nodes by the split.
  4. Repeat the process on each child.
  5. Stop when a node is pure, no features remain or a size limit is reached. The node becomes a leaf with the majority class.

Notes

  • The method is greedy: it picks the best split now and does not look ahead.
  • ID3 and C4.5 use entropy. CART uses Gini.
  • Without limits the tree may overfit, so pruning is used.

Stopping.

A node holds 6 records, all labelled Yes.

It is pure, so no more splits are needed.

It becomes a leaf with the label Yes.

Real-life example

A doctor asks one question first, such as fever or not. Then the next question depends on the answer. The doctor repeats this until the case is clear.

Figure: building a decision tree
Figure: building a decision tree

Difference between ID3 and CART

PointID3CARTSame or opposite
Builds trees by recursive splittingYesYesSame
Split measureInformation gainGini indexOpposite
Splits per nodeMany branchesTwo branchesOpposite
Needs a stopping ruleYesYesSame

Exam tip. Write the five steps and name the split measure.

Back to the topic list

Q5. Entropy and information gain with a worked dataset

Short answer. Entropy measures the impurity of a set: H = minus sum of p log2 p. Information gain is the entropy before a split minus the weighted entropy after it.

Asked 1 time in 2025 · Unit 2

From the papers

  • “Define entropy and information gain. Calculate the overall entropy and information gain with the given dataset.” (December 2025)

Write these points

Definitions

  • Entropy is 0 for a pure set and 1 for a 50:50 two class set.
  • Gain(S, A) = H(S) minus sum of (|Sv| / |S|) x H(Sv).
  • Sv is the part of the data that has value v of feature A.
  • Choose the feature with the highest gain.

Given data: 7 samples, Loan Approved: 3 Yes and 4 No

Overall entropy: H = minus (3/7) log2 (3/7) minus (4/7) log2 (4/7) = 0.985.

Credit scoreSamplesYesNoEntropy
High3 (P1, P4, P7)210.918
Medium2 (P2, P5)111.000
Low2 (P3, P6)020.000

Weighted entropy = (3/7)(0.918) + (2/7)(1.000) + (2/7)(0) = 0.679.

Information gain = 0.985 minus 0.679 = 0.306.

Real-life example

If a basket has only apples, you are never surprised by a pick. If it has half apples and half oranges, every pick is a surprise. Entropy measures that surprise.

Figure: choosing the split by information gain
Figure: choosing the split by information gain

Difference between Entropy and information gain

PointEntropyInformation gainSame or opposite
Based on class proportionsYesYesSame
MeaningImpurity of a setFall in impurity after a splitOpposite
Best valueLowHighOpposite
Used to choose splitsYesYesSame

Exam tip. Show the formula, the table and the three numbers 0.985, 0.679 and 0.306.

Back to the topic list

Q6. Noisy data and decision tree performance

Short answer. Noisy data has wrong labels or random errors. A decision tree can keep splitting until it fits the noise, so it overfits and does badly on new data.

Asked 1 time in 2025 · Unit 2

From the papers

  • “How does noisy data affect decision tree performance? Write the strategies to overcome them.” (December 2025)

Write these points

Effects

  • The tree grows deeper and bigger.
  • Training accuracy is high but test accuracy falls.
  • Small changes in data give a very different tree.

Strategies

  1. Pre pruning: limit depth, minimum samples per split or minimum gain.
  2. Post pruning: grow the full tree, then cut branches that do not help on validation data.
  3. Clean the data: fix or remove wrong labels and outliers.
  4. Use ensembles: random forests and bagging average out noise.
  5. Cross validation to choose the tree size.

Real-life example

A student who memorises a printing error in the textbook loses marks when the exam has the right text. A student who learns the idea is not fooled by one error.

Figure: controlling noise in trees
Figure: controlling noise in trees

Difference between Pre pruning and post pruning

PointPre pruningPost pruningSame or opposite
Reduces overfittingYesYesSame
When appliedWhile growingAfter growingOpposite
CostLowerHigherOpposite
Uses validation dataOftenOftenSame

Exam tip. Give two effects and five remedies. Name pruning clearly.

Back to the topic list

Q7. Bagging and boosting compared

Short answer. Bagging trains many models in parallel on random samples and averages them, which lowers variance. Boosting trains models one after another, each fixing the mistakes of the last, which lowers bias.

Asked 1 time in 2025 · Unit 3

From the papers

  • “Compare Bagging and Boosting techniques in ensemble learning.” (December 2025)

Write these points

Bagging

  • Bootstrap samples (rows drawn with replacement).
  • Models are independent. Votes or averages are combined.
  • Example: random forest.

Boosting

  • Each new model gives more weight to records that were wrong.
  • Final answer is a weighted vote.
  • Examples: AdaBoost, gradient boosting, XGBoost.
PointBaggingBoosting
TrainingParallelSequential
Main effectCuts varianceCuts bias
Sample weightsEqualRaised for errors
NoiseHandles wellCan be hurt

Bootstrap fact.

From 100 records, one bootstrap sample leaves out about 36.6% of them.

These left out records give a free test set called out of bag data.

Real-life example

Bagging is like asking ten friends separately and taking the common answer. Boosting is like one student who studies his mistakes after each test and improves each time.

Figure: bagging and boosting
Figure: bagging and boosting

Difference between Bagging and boosting

PointBaggingBoostingSame or opposite
Combine many weak or base modelsYesYesSame
Order of trainingParallelSequentialOpposite
Reduces mainlyVarianceBiasOpposite
Final output uses a vote or sumYesYesSame

Exam tip. Use a table with four rows. Name one algorithm for each.

Back to the topic list

Q8. Random forest working

Short answer. A random forest is a group of decision trees, each built on a bootstrap sample with a random subset of features at every split. The forest votes or averages.

Asked 1 time in 2025 · Unit 3

From the papers

  • “Describe the working mechanism of a Random Forest algorithm.” (December 2025)
  • “Short note: Random Forest.” (December 2025)

Write these points

Working

  1. Draw a bootstrap sample of rows for each tree.
  2. At each node pick a random set of features, then choose the best split among them.
  3. Grow the tree deep without pruning.
  4. Repeat for many trees, for example 100.
  5. Predict by majority vote (classes) or mean (values).

Strengths

  • Less overfitting than one tree.
  • Out of bag error gives a free estimate.
  • Gives feature importance.
  • Works with mixed data and few settings.

Vote.

Five trees say Yes, No, Yes, Yes, No.

Three Yes beat two No, so the forest says Yes.

Real-life example

A panel of many judges, each shown slightly different case files, gives a fairer verdict than one judge. A single judge may be misled by one odd detail. The panel vote cancels such slips, as the forest does.

Figure: random forest
Figure: random forest

Difference between Single tree and random forest

PointDecision treeRandom forestSame or opposite
Splits on featuresYesYesSame
Number of treesOneManyOpposite
Overfitting riskHighLowerOpposite
Can show feature importanceYesYesSame

Exam tip. Write the five steps. Mention bootstrap, random features and voting.

Back to the topic list

Q9. Why ensemble methods are more stable

Short answer. An ensemble combines several models. Their errors are not all the same, so many errors cancel in the vote or average.

Asked 1 time in 2025 · Unit 3

From the papers

  • “Why ensemble methods offer greater robustness compared to individual models? Discuss.” (December 2025)

Write these points

Reasons

  1. Error cancelling: independent mistakes are outvoted.
  2. Lower variance: averaging smooths the effect of noisy data.
  3. Lower bias in boosting, as weak models become one strong model.
  4. Diversity: different data samples, features or algorithms.
  5. One bad model or one noisy record does less harm.

Majority vote.

Three independent classifiers are each right 70% of the time.

Majority is right when at least two are right: 3 x 0.7 x 0.7 x 0.3 + 0.7 x 0.7 x 0.7 = 0.784.

The vote beats each single model (0.70). This holds only if errors are not strongly linked.

Real-life example

A quiz team beats a single player because teammates know different topics. One wrong answer is corrected by others.

Figure: errors cancel in an ensemble
Figure: errors cancel in an ensemble

Difference between One model and an ensemble

PointSingle modelEnsembleSame or opposite
Can be accurateYesYesSame
Sensitivity to noiseHigherLowerOpposite
Training costLowerHigherOpposite
Needs a good methodYesYesSame

Exam tip. Give four reasons. Show the 0.784 example.

Back to the topic list

Q10. Bellman equations in reinforcement learning

Short answer. A Bellman equation writes the value of a state as the immediate reward plus the discounted value of the next state. It turns a long future into a one step rule.

Asked 1 time in 2025 · Unit 4

From the papers

  • “Explain the Bellman Equations in the context of Reinforcement Learning.” (December 2025)

Write these points

Equations

  • State value under a policy: V(s) = sum over a of pi(a|s) sum over s' of P(s'|s,a) [ R + g V(s') ].
  • Action value: Q(s,a) = sum over s' of P(s'|s,a) [ R + g max Q(s',a') ] for the best policy.
  • Optimality: V*(s) = max over a of the expected [ R + g V*(s') ].
  • g is the discount factor between 0 and 1.

Use

  • Value iteration and policy iteration solve it by repeated updates.
  • Q-learning and TD learning use it as a target.
  • It needs the Markov property.
  • It links the value now to the value later.

Choosing an action.

State s. Action a1: 0.8 chance reward 5 then V = 10. 0.2 chance reward 0 then V = 2. Action a2: sure reward 3 then V = 8. g = 0.9.

a1 = 0.8(5 + 9) + 0.2(0 + 1.8) = 11.56. a2 = 3 + 7.2 = 10.2.

Best action is a1, so V*(s) = 11.56.

Real-life example

The price of a house now equals the rent this year plus the discounted price next year. You can value it one step at a time.

Figure: the loop behind the Bellman equation
Figure: the loop behind the Bellman equation

Difference between State value and action value

PointV(s)Q(s,a)Same or opposite
Obey Bellman equationsYesYesSame
Depends onStateState and actionOpposite
Used to pick actions directlyNoYesOpposite
Use discount factorYesYesSame

Exam tip. Write V and Q equations. Add the small numerical example.

Back to the topic list

Start with the latest papers

Advanced Machine Learining - Dec 2025

See all 1 papers →

Advanced Machine Learning (AL-702-B) FAQs

What are the most important topics in Advanced Machine Learning?

By how often they were asked in the papers on this site: Artificial neural network and the cost function (1 times); Gradient descent in backpropagation (1 times); Multilayer perceptron: architecture and learning (1 times); Recursive induction in decision trees (1 times); Entropy and information gain with a worked dataset (1 times).

How were these Advanced Machine Learning important questions chosen?

Each topic was counted from the questions in the past papers listed on this site (2025). Repeated is the number of times the topic came. The counts come from keyword matching and the answers are not teacher-reviewed, so use them together with your syllabus.

Is there a PDF of Advanced Machine Learning important questions with answers?

Yes. The Paperwala Imp Question & Answer PDF for Advanced Machine Learning is free to download from this page.

The 10 most repeated topics of Advanced Machine Learning (AL-702-B) for RGPV B.Tech CSE-AIML semester 7, counted from the previous year papers on this site.