Question: Applying decision trees methods Pick any dataset relevant that you would like to analyze. The dataset should have at least tree features (input columns) and

Applying decision trees methods

  1. 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).
  2. Randomly divide it into two chunks 80% and 20% of records.
  3. 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.
  4. 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).
  5. Describe each step and a result of this process, include relevant scripts, tree model, and outputs produced by the tool you use.
  6. 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.
  7. 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).
  8. 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

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 Databases Questions!