6.1 Understanding decision trees and random forests6.2 Importing, wrangling, and exploring the data6.2.1 Understanding the data6.2.2 Wrangling the data6.2.3 Exploring the data6.3 Fitting a decision tree6.3.1 Splitting the data6.3.2 Fitting the model6.3.3 Predicting responses6.3.4 Evaluating the model6.3.5 Plotting the decision tree6.3.6 Interpreting and understanding decision trees6.3.7 Advantages and disadvantages of decision trees6.4 Fitting a random forest6.4.1 Fitting the model6.4.2 Predicting responses6.4.3 Evaluating the model6.4.4 Feature importance6.4.5 Extracting random trees