Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Pick any dataset relevant that you would like to analyze. The dataset should have at least tree features (input columns) and exactly one classification or
- Pick any dataset relevant that you would like to analyze. The dataset should have at least tree features (input columns) and exactly one classification or output column. The output column must be an example of business consequences (categorical or continuous business outcome).
- Use Python or any other other tool to apply appropriate decision trees method to train a decision tree on a larger part of the dataset.
- For the remaining of the records from the remaining smaller part of the dataset use the trained tree model to classify the data. Compare the models outcome to the actual classes in the testing sample. Calculate accuracy of the model (number of correctly and incorrectly identified cases in each class).
- Describe each step and a result of this process, include relevant scripts, tree model, and outputs produced by the tool you use.
- Use Python or any other other tool to apply appropriate decision trees method to train a decision tree on a larger part of the dataset.
- For the remaining 20% of the records from the remaining smaller part of the dataset use the trained tree model to classify the data. Compare the models outcome to the actual classes in the testing sample. Calculate accuracy of the model (number of correctly and incorrectly identified cases in each class).
- Describe each step and a result of this process, include relevant scripts, tree model, and outputs produced by the tool you use.
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