Learn practical skills, build real-world projects, and advance your career
Created 3 years ago
The Sparks Foundation
Name - Akshat Sahu
Task: 6
● Create the Decision Tree classifier and visualize it graphically.
● The purpose is if we feed any new data to this classifier, it would be able to
predict the right class accordingly.
● Dataset : https://bit.ly/3kXTdox
Importing Libraries
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns