Find a package/library to perform PLSR on the AutoMPG dataset. Take 300 cars "randomly" to build the model and the rest of 92 cars to test.
a. (5%) Start with a single y = (mpg). What do you observe with the testing results?
b. (10%) Use model year. Please provide the complete code that can be directly run to solve the problem. Also, indicate where the path of the dataset should be pasted. Thank you very much! :)
Find a package/library to perform PLSR on the AutoMPG dataset. Take 300 cars "randomly" to build the model and the rest of 92 cars to test.
a. (5%) Start with a single y = mpg. What do you observe with the testing results?
b. (10%) Use y = [mpg model year]. What do you observe with the testing results? In particular, compare and discuss the testing results of the mpg between (a) and (b).