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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!