NPTEL Data Analytics with Python Week 12 Assignment Answers 2024

NPTEL Data Analytics with Python Week 12 Assignment Answers 2024

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 :- 

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 unsupersived learning technique
  • CART is a supervised learning technique
  • CART adopts a greedy approach
  • Both b. and 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 :- 

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 :- 

Leave a Comment