Question: Consider the following practice question Regarding R programming: Assume you have a person for who the target variable hasn't been observed yet. How would a
Consider the following practice question Regarding R programming:
Assume you have a person for who the target variable hasn't been observed yet. How would a data analyst use a tree model to predict a class label for this person?
A. Find the leaf node with the same attributes as the individual and us the majority class that leaf as the class label prediction.
B. Merely run the algorithm.
C. Calculate the entropy.
D. Average the purity in each leaf node.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
