MACHINE LEARNING

APPLICATION OF SUPERVISED LEARNING

MACHINE LEARNINGHARD QUESTIONS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Choose the correct syntax to drop the “ veil-Type” column from the mushroom database.
A
mushroom.drop(’veil-type’, axis=1, inplace=True)
B
mushroom.drop(columns=[’veil-type’], axis=1, inplace=True)
C
mushroom.drop(columns=[’veil-type’], axis=5, inplace=True)
D
mushroom.drop(columns=mushroom[’veil-type’], axis=1, inplace=True)
Explanation: 

Detailed explanation-1: -The Decision Tree is a predictive model based on the analysis of a set of data points that describe the type of object we want to classify. In our example, it might be a set of observations of a mushroom’s cap type, its color, odor, shape of its stalk, etc.

There is 1 question to complete.