Question: CSS 3 0 0 Module 5 Activity Worksheet Use this worksheet to complete your lab activity. Submit it to the applicable assignment submission folder when
CSS Module Activity Worksheet
Use this worksheet to complete your lab activity. Submit it to the applicable assignment
submission folder when complete.
Deliverable:
A word document answering the following questions
Using the Weather.csv dataset from Module
Part : Metrics for Evaluation
Calculate the following metrics: mean absolute error, mean squared error, root mean
squared error, and the score. Use the following code samples:
printMean Absolute Error: metrics.meanabsoluteerrorytest,
ypred
printMean Squared Error: metrics.meansquarederrorytest,
ypred
printRoot Mean Squared Error:
npsqrt metricsmeansquarederrorytest, ypred
printRsquared Scre: reressorscore X y
Part : Model Refinement
Rerun the linear regression model from Module but change the percentage of records
that are used for testing. Try using and
Calculate the same metrics from above.
Use a scatter plot to visualize all three models.
Evaluate the three models. Are any of them underfit or overfit? Which of testing data
performed best? please show code in python jupyter and show codes
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
