Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Load the iris sample dataset from sklearn (load iris()) into Python using a Pandas dataframe. Induce a set of binary Decision Trees with a minimum
Load the iris sample dataset from sklearn (load iris()) into Python using a Pandas dataframe. Induce a set of binary Decision Trees with a minimum of 2 instances in the leaves, no splits of subsets below 5, and an maximal tree depth from 1 to 5 (you can leave other parameters at their defaults). Which depth values result in the highest Recall? Why? Which value resulted in the lowest Precision? Why? Which value results in the best F1 score? Explain the dierence between the micro/macro/weighted methods of score calculation.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started