Question
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
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 algorithms to make prediction models: a. Logistic regression.
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 80% for training set and 20% for test set. (random_state = 0).
6. Write or show screenshot of the confusion matrix.
7. Visualize the logistic regression result of test set (show screenshot).
note: using spyder
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