Question
Please provide the solutions for question 4**** and 5**** only as all the above questions were already answered by Chegg expert. ## Try to recreate
Please provide the solutions for question 4**** and 5**** only as all the above questions were already answered by Chegg expert.
## Try to recreate with R or Octave, as close as possible, the data from the figure 1. Functions needed are: runif (R) rand (Octave) for uniform distribution and rnorm (R) randn() (Octave) for the normal distribution
a. explain how you can recreate 1
b. compare and discuss my figure 3 with the figure you created
4**** Based on the figure 3, or your data created, explain how you would make a decision tree to classify '+' and 'o' similarly to the way it was done in the left tree in figure 2
5**** In your opinion, why is it practical or useful to simulate the data for the classification?
Figure 1
Figure 2
Figure 3
(a) Decision tree with 11 leaf (b) Decision tree with 24 leaf nodes. nodesStep 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