Question: Create a markdown cell with a 2nd-level heading with the text Computer Hardware Dataset. Use Scikit-Learn functions to scale the data (min-max scalar). Display the
Create a markdown cell with a 2nd-level heading with the text "Computer Hardware Dataset". Use Scikit-Learn functions to scale the data (min-max scalar). Display the scatter_matrixLinks to an external site. for each pair of variables using Pandas functions. Display the Pearson's correlation matrixLinks to an external site.. Based on these results, which feature has the largest predictive value to predict the dependent variable? Use the linregressLinks to an external site. function from scipy.stats to determine the slope and intercept for predicting RP using the best feature determined in step E. Use a scatter plot to display the best feature vs RP (dependent variable). Overlay the best fitting line using the slope and intercept you found in step F. Be sure to include x-axis and y-axis labels and a plot legend
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
