Question: geoquad Understand the data set and program a decision tree on it ( any programming language is OK ) geoquad Randomly select 2

\geoquad Understand the data set and program a decision tree on it (any programming language is OK)\geoquad Randomly select 20%,40%,60%, and 80% as your training set, and the rest are your test set. \geoquad Repeat 10 times and average the test results. \geoquad Write a short report of your experiment results with your code as an appendix using LATEX. A plot of test accuracy trends should be included. \geoquad In the report, you should also discuss your results. , need help creating a decison tree in python lanuage , i will post the training set below i am only have problems with the code mostly , i just need to put the code together using numpy and pandas , i will post what i have for the code but i need the rest of it becsuse i dont know how exactly to fully imply this code thank u very much i would really appreciate it . this is what i prepared already to code . import numpy as np import pandas as pd from sklearn.metrics import confusion_matrix from sklearn.model_selection import train_test_split from sklearn.tree import DecisionTreeClassifier from sklearn.metrics import accuracy_score from sklearn.metrics import classification_report Source: Creator. Marko Bourarec Donor: 2. Blaz Zlpan (Galaz.zupar '@g' ijs.si) Data Set information: cancest structure: CaR onr noreptability . PRICE overell prce . bupirg buying price . rlainl price of the mainterlaries , ComFDRT onmtort .. coors rumber of cocrs .. persons capacity in lerrins of pereore le carry W. lug_toat the size of luggige anot sadery batimated saferty ox the cer Link]l. Because of known underlying cancept sinucture, this da:absse misy be particularly useful for testing consisuctive inductian and structure disoovery metheds. Attribute Information: Class Walues: unacc, aoc, pood, voood

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!