Answered step by step
Verified Expert Solution
Question
1 Approved Answer
note: using spyder A company developed a new mobile phone with new specifications and high performance. The company's management published a survey to find out
note: using spyder
A company developed a new mobile phone with new specifications and high performance. The company's management published a survey to find out are people excited to buy this new mobile phone. Your manager sent you the collected data and asked you to design a model that can predict the buyers of the new mobile phone. As a data analyst, you will do the following: 1. Download the attached dataset. 2. Use the following algorithm to make prediction models: a. Random Forest. 3. Only select (Age) and (Estimated Salary) for independent variables. 4. Do the necessary work for data preprocessing. 5. When splitting the dataset into the Training set and Test Set, assign 70% fortraining set and 30% for test set. (random_state =0 ). 6. Determine the N-tree to be 12. (Show screenshot of yourcode). 7. Write or show screenshot of the confusion matrix. 8. Visualize the Random Forest result of test set (show screenshot). 9. Write your opinion about the performance of Random Forest in compare with SVM which you already did in lab\#5Step 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