Question
Write the machine learning project from scratch using the following data according to the decision tree. You should not use any ready-made library to code
Write the machine learning project from scratch using the following data according to the decision tree. You should not use any ready-made library to code your algorithm. you have to write the classifier yourself (using python and jupyter notebook) Your code should be applicable to any dataset You must accurately explain each part with the corresponding formulas. do not use the concepts of classes and objects in your code. Just use the Function concept. You need to implement your implemented classifier using the latest readily available library and compare the results in a dataset.
DATA
work,year,pay,salary,credit_point |
private,18,1000,9500,2 |
private,21,0,8500,2 |
private,27,1700,12000,2 |
private,32,500,27000,2 |
private,38,20000,18000,1 |
private,43,7800,21000,2 |
private,47,0,19000,2 |
private,54,1300,32000,2 |
private,58,49000,26500,0 |
private,63,3900,14500,1 |
private,67,0,15700,1 |
public,48,1250,22000,3 |
public,41,4780,16700,3 |
public,32,38000,19800,2 |
public,24,1200,15000,3 |
public,36,0,34000,4 |
public,64,22000,13500,1 |
public,22,1150,14000,3 |
public,53,520,23000,2 |
public,56,4280,13500,2 |
public,60,22000,17000,1 |
public,39,2900,28500,3 |
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