Question 7: Survival by fare - Loess
Set the seed to 1. Train a model using Loess with the caret gamLoess method using fare as the only predictor.
What is the accuracy on the test set for the Loess model?
Note: when training models for Titanic Exercises Part 2, please use the S3 method for class formula rather than the default S3 method of caret train() (see ?caret::train for details).


