DT Implementation Steps: 5 to 7

We will continue to learn the implementation steps (5-7) of decision trees.

5) Set X and y variables

Clicked on Ad serves as the dependent variable (y) for this exercise, while the remaining variables will serve as our independent variables (X). The independent variables are Daily Time Spent on Site, Age, Area Income, Daily Internet Usage, Male, Country, and City.

Get hands-on with 1200+ tech skills courses.