{"id":180,"date":"2018-05-04T16:09:45","date_gmt":"2018-05-04T16:09:45","guid":{"rendered":"https:\/\/jinheebae.com\/blog\/?p=180"},"modified":"2019-06-05T07:17:45","modified_gmt":"2019-06-05T07:17:45","slug":"linear-regression","status":"publish","type":"post","link":"https:\/\/jinheebae.com\/blog\/2018\/05\/04\/linear-regression\/","title":{"rendered":"Linear regression"},"content":{"rendered":"\n\n\n<p> It shows linear relationship between dependent variable (Y) and independent variable (X, explanatory variable(s)). When predicting, an observed data set (training) of values of Xs and Y will be used to fit on prediction, and additional data set (testing) of X will predict Y based on the fitted model. <\/p>\n\n\n<p><img decoding=\"async\" src=\"\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/5\/53\/Linear_least_squares_example2.png\/220px-Linear_least_squares_example2.png\"><\/P>\n\n\n<p>\n<ul>\n<li> Red &#8211; Observation\n<li> Blue &#8211; Relationship\n<li> Green &#8211; Result of deviation which shows data fitting between training and testing.\n<\/ul>\n<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>It shows linear relationship between dependent variable (Y) and independent variable (X, explanatory variable(s)). When predicting, an observed data set &hellip; <a class=\"more-link\" href=\"https:\/\/jinheebae.com\/blog\/2018\/05\/04\/linear-regression\/\">More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-180","post","type-post","status-publish","format-standard","hentry","category-statistics",""],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/jinheebae.com\/blog\/wp-json\/wp\/v2\/posts\/180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jinheebae.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jinheebae.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jinheebae.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jinheebae.com\/blog\/wp-json\/wp\/v2\/comments?post=180"}],"version-history":[{"count":3,"href":"https:\/\/jinheebae.com\/blog\/wp-json\/wp\/v2\/posts\/180\/revisions"}],"predecessor-version":[{"id":185,"href":"https:\/\/jinheebae.com\/blog\/wp-json\/wp\/v2\/posts\/180\/revisions\/185"}],"wp:attachment":[{"href":"https:\/\/jinheebae.com\/blog\/wp-json\/wp\/v2\/media?parent=180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jinheebae.com\/blog\/wp-json\/wp\/v2\/categories?post=180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jinheebae.com\/blog\/wp-json\/wp\/v2\/tags?post=180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}