程序代写案例-CSM 4985

欢迎使用51辅导,51作业君孵化低价透明的学长辅导平台,服务保持优质,平均费用压低50%以上! 51fudao.top
CSM 4985
Homework 2 - The Nearest Neighbor Algorithm
September 18, 2019
1. Use the Black Friday dataset to train a k Nearest Neighbor algorithm classifier to predict the gender
of shopper based on other features.
(a) Check the features for missing values remove the ones with lots of them.
(b) Change the categorical features in to numeric features, remove the ones that are difficult to
change.
(c) Use 70% of the data for training and 30% for testing.
(d) Run KNN for different values of K and report the value that produces the best accuracy.
(e) Submit the code, results and markdown description of each step in a Jupyter Notebook to D2L
1

欢迎咨询51作业君
51作业君

Email:51zuoyejun

@gmail.com

添加客服微信: abby12468