NPTEL Data Analytics with Python Week 12 Assignment Answers 2025
1. Which clustering algorithm works well when the shape of the clusters is hyper-spherical?
- K means
- Agglomerative Hierarchical clustering
- Divisive Hierarchical clustering
- All of the above
Answer :- For Answers Click Here
2. In decision tree, an internal node represents –
- A test on an attribute
- An outcome of the test
- Entire sample population
- Holds a class label
Answer :-
3. Choose the correct statement about the CART model –
- CART is an unsupervised learning technique
- CART is a supervised learning technique
- CART adopts a greedy approach
- Both b. & c.
Answer :-
4. Which library is used to built the decision tree model-
- Decision tree classifier
- DecisionTreeClassifier
- Decision_Tree_Classifier
- Decision_tree_model
Answer :-
5. State True or False: Gini Index enforces the resulting tree to have multiway splits
- True
- False
Answer :- For Answers Click Here
6. Chance nodes are represented by ____________
- Disks
- Squares
- Circles
- Triangles
Answer :-
7. _______is the measure of uncertainty of a random variable, it characterizes the impurity of an arbitrary collection of examples.
- Information Gain
- Gini index
- Entropy
- None of the above
Answer :-
8. End Nodes are represented by __
- Disks
- Squares
- Circles
- Triangles
Answer :-
9. Decision tree learners may create biased trees if some classes dominate. What’s the solution of it?
- Balance the dataset prior to fitting
- Imbalance the dataset prior to fitting
- Balance the dataset after fitting
- None of the above
Answer :-
10. Suppose, your target variable is the price of a house using Decision Tree. What type of tree do you need to predict the target variable?
- Classification tree
- Regression tree
- Clustering tree
- Dimensionality reduction tree
Answer :- For Answers Click Here