Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Answer the following questions based on the city that is assigned to you by your professor. ( If it is not assigned to you, contact
Answer the following questions based on the city that is assigned to you by your professor. If it is not assigned to you, contact your professor
Do not analyze the whole dataset
Filter the dataset and work on your own city
Question
Divide the data set to Train and Test Data Sets
Question a
Use the train data and create a Nave Bayes Classifier for predicting whether the customer will buy electronics based on the combination of two variables family income and family size
Question b
Use the test data and your model and make predictions regarding whether the customer will buy electronics based on the combination of two variables family income and family size.
Question a
Use the train data and KNearest Neighbor Classifier for predicting whether the customer will buy electronics based on the combination of two variables Educational Years and family size.
Question b
Use the test data and your model and make predictions regarding whether the customer will buy electronics based on the combination of two variables Educational Years and family size.
Question a
Compose the confusion matrix of Naive Bayes Classifier
Compose the confusion matrix of KNearest Neighbor
decide which model has better accuracy.
Question b
Compose the ROC gain and lift charts of the Naive Bayes model
Compose the ROC gain and lift charts of the KNearest Neighbor model
which model is better? Argue why?
Question
Use kmeans clustering, what would be an optimum model that would cluster the buyers based on family income and family size? develop a KMeans model for clustering and Visualize your clusters
Question
Using Hierarchical Clustering what is optimum number of clusters of customers do you detect based on EdYears and FamilySize? develop a Hierarchical clustering model and Visualize your clusters
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