Question:

In case of a classification tree, predictions on unseen data are made using the ...............

Show Hint

Classification tree = Mode; Regression tree = Mean or Median.
  • Mean
  • Median
  • Mode
  • RMSE
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

A classification tree is used for predicting categorical output.
When a classification tree predicts on new data, it assigns the data to a leaf node based on its features.
The final prediction for that node is made by taking the mode of the class labels of the training samples that reach that node.
The mode means the most frequently occurring class in that node.
This makes sense because the goal of classification is to decide which class is most likely.
Mean and median are measures used in regression trees for continuous outputs, not for classification tasks.
RMSE (Root Mean Squared Error) is a performance metric for regression, not a prediction method.
Therefore, Mode is the correct answer for a classification tree.
Was this answer helpful?
0
0