Home » Education » Data Analytics with Python Week 12 Assignment 12 Solution | NPTEL | Swayam | Jan-Jul 2023

Data Analytics with Python Week 12 Assignment 12 Solution | NPTEL | Swayam | Jan-Jul 2023

Written By TechEd Quest on Thursday, Apr 06, 2023 | 02:46 AM

 
#dataanalytics #nptel #swayam #python #statistics Data Analytics with Python All Weeks Assignment Solution https://youtube.com/playlist?list=PL__28a0xFM--GFpdjo3XkGv7Ls5YJCc3x Cryptography & Network Security All Week Assignment solution https://youtube.com/playlist?list=PL__28a0xFM-93sYjQIhrMWuVb5cwc4e0v Excel Tricks https://youtube.com/playlist?list=PL__28a0xFM-9L_bpqp71LHSbmxE_92ZgJ Which one of the following are Decision Tree nodes? Decision Nodes End Nodes Chance Nodes All of these What are the advantages of Classification and Regression Trees (CART)? Decision trees require relatively less effort from users for data preparation Nonlinear relationships between parameters do not affect tree performance. Both (A) and (B) None of these What are the disadvantages of Classification and Regression Trees (CART)? Decision trees can be unstable because small variations in the data might result in a completely different tree being generated Decision trees require relatively less effort from users for data preparation Nonlinear relationships between parameters do not affect tree performance. Decision trees implicitly perform variable screening or feature selection Suppose, your target variable is whether a passenger will survive or not using Decision Tree. What type of tree do you need to predict the target variable? classification tree regression tree clustering tree dimensionality reduction tree What is the maximum depth in a decision tree? the length of the longest path from a root to a leaf the length of the shortest path from a root to a leaf the length of the longest path from a root to a sub-node None of these Suppose in a classification problem, you are using a decision tree, and you use the Gini index as the criterion for the algorithm to select the feature for the root node. The feature with the _____ Gini index will be selected. maximum highest least None of these In Decision Trees, for predicting a class label, the algorithm starts from which node of the tree? Root Leaf Terminal Sub-node What is splitting in the decision tree? Dividing a node into two or more sub-nodes based on if-else conditions Removing a sub-node from the tree Balance the dataset prior to fitting All of the above State True or False: Leaf node in a decision tree will have entropy value equal to 0 True False State True or False: Entropy is the measure of uncertainty of a random variable True False Instagram Link https://www.instagram.com/techedquest/