{"id":132312,"date":"2023-08-20T15:59:12","date_gmt":"2023-08-20T15:59:12","guid":{"rendered":"https:\/\/assignmenttutors.net\/blog\/css-300-module-5-activity-worksheet\/"},"modified":"2023-08-20T15:59:12","modified_gmt":"2023-08-20T15:59:12","slug":"css-300-module-5-activity-worksheet","status":"publish","type":"post","link":"https:\/\/assignmenttutors.net\/blog\/css-300-module-5-activity-worksheet\/","title":{"rendered":"Css 300 module 5 activity worksheet"},"content":{"rendered":"<div>\n<p>\u00a0CSS 300 Module 5 Activity Worksheet<br \/>Use this worksheet to complete your lab activity. Submit it to the applicable assignment <br \/>submission folder when complete. <br \/>Deliverable:<br \/>&#8211; A word document answering the following questions <br \/>Using the Weather.csv dataset from Module 4<br \/>Part 1: Metrics for Evaluation<br \/>1. Calculate the following metrics: mean absolute error, mean squared error, root mean <br \/>squared error, and the R2 score. Use the following code samples:<br \/>print(&#8216;Mean Absolute Error:&#8217;, metrics.mean_absolute_error(y_test,<br \/>y_pred)) \u00a0<br \/>print(&#8216;Mean Squared Error:&#8217;, metrics.mean_squared_error(y_test, <br \/>y_pred)) \u00a0<br \/>print(&#8216;Root Mean Squared Error:&#8217;, <br \/>np.sqrt(metrics.mean_squared_error(y_test, y_pred)))<br \/>print(\u2018R-squared Score:\u2019, regressor.score(X, y))<br \/>Part 2: Model Refinement<br \/>1. Rerun the linear regression model from Module 4, but change the percentage of records<br \/>that are used for testing. Try using 0.25 and 0.3. <br \/>2. Calculate the same metrics from above.<br \/>3. Use a scatter plot to visualize all three models.<br \/>4. Evaluate the three models. Are any of them underfit or overfit? Which % of testing data <br \/>performed best?\u00a0<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0CSS 300 Module 5 Activity WorksheetUse this worksheet to complete your lab activity. Submit it to the applicable assignment submission folder when complete. Deliverable:&#8211; A word document answering the following questions Using the Weather.csv dataset from Module 4Part 1: Metrics for Evaluation1. Calculate the following metrics: mean absolute error, mean squared error, root mean squared [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-132312","post","type-post","status-publish","format-standard","hentry","category-education"],"_links":{"self":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/132312","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/comments?post=132312"}],"version-history":[{"count":0,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/132312\/revisions"}],"wp:attachment":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/media?parent=132312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/categories?post=132312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/tags?post=132312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}