Question: What are the functions of the following python codes ? from sklearn.tree import Decision TreeClassifier classifier Decision TreeClassifier ( ) classifier.fit ( X _ train

What are the functions of the following python codes ? from sklearn.tree import Decision TreeClassifier classifier Decision TreeClassifier () classifier.fit (X_train , y_train) Generate predicted outcomes for input dataset X_train using an existing classification tree Examine the fitness of X_train and y train to an existing classification tree Generate X_train and y_train that will be used as training datasets for building a classification tree in the next step Build a classification tree using training datasets X_train and y_train

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!