Question: Use the following to create a PCA object that uses only the first six principal components: pca = PCA(n_components=6,random_state=100) Use this object to fit and
Use the following to create a PCA object that uses only the first six principal components:
pca = PCA(n_components=6,random_state=100)
Use this object to fit and transform the data. Use this transformed data in sklearn linear model to predict. What would the mean squared error of this model be (up to two decimal places)?
0.43
0.53
0.33
0.23
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
