Question: I need some help with a data set in R Studio. I am getting a lot of errors in my code and I need direction
I need some help with a data set in R Studio. I am getting a lot of errors in my code and I need direction please.
The data set I am using is a csv file with entries and is titled MallCustomers.csv with headers titled CustomerID, Gender, Age, Annual Income k$ Spending Score
My goal has been to just follow the guide for the assignment. Each question is something to write a code and utilize the data but maybe I am choosing the wrong libraries or something because this isn't working for me My Professor hasn't responded so I am hoping for help here.
The first three things to do:
Handle missing data drop or impute values & deal with outliers if necessary.
Transform and encode categorical variables eg onehot encoding or label encoding
Scale or normalize continuous variables if required
could you please write the import line of code for the csv and suggest libraries I should import? If you could write one line of code for one of three questions above as an example I would appreciate it Thanks!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
