Question: Help please For each question, write the corresponding R command. 1) Select import dataset as csv from https: //90o.91/At238h 2) Load into R into a
For each question, write the corresponding R command. 1) Select import dataset as csv from https: //90o.91/At238h 2) Load into R into a variable called T3 3) Build a new dataset, titanic3, by selecting these features: survived, embarked, sex, sibsp, parch and fare 4) Make embarked and sex as factors. 5) Find the correlation matrix between survival and the other features. 6) Plot survival with other features to see if any correlation exists 7) set a seed to 1000 and use it to split the dataset into 80% training, 208 testing 8) Build your training (till index 1046) and test (till index 1308) datasets 9) Train your learner on the training dataset 10) Plot your decision tree and save plot into an image file 11) Print, write your name and return to your instructor
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
