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 Xtrain ytrain Generate predicted outcomes for input dataset Xtrain using an existing classification tree Examine the fitness of Xtrain and y train to an existing classification tree Generate Xtrain and ytrain that will be used as training datasets for building a classification tree in the next step Build a classification tree using training datasets Xtrain and ytrain
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
