{"id":2769,"date":"2019-11-03T06:34:24","date_gmt":"2019-11-03T06:34:24","guid":{"rendered":"https:\/\/www.aiproblog.com\/index.php\/2019\/11\/03\/linear-regression-in-python-using-numpy-scipy-and-statsmodels\/"},"modified":"2019-11-03T06:34:24","modified_gmt":"2019-11-03T06:34:24","slug":"linear-regression-in-python-using-numpy-scipy-and-statsmodels","status":"publish","type":"post","link":"https:\/\/www.aiproblog.com\/index.php\/2019\/11\/03\/linear-regression-in-python-using-numpy-scipy-and-statsmodels\/","title":{"rendered":"Linear regression in Python: Using numpy, scipy, and statsmodels"},"content":{"rendered":"<p>Author: Vincent Granville<\/p>\n<div>\n<p>The original article is no longer available. Similar (and more comprehensive) material is available below.\u00a0<\/p>\n<p><a href=\"https:\/\/storage.ning.com\/topology\/rest\/1.0\/file\/get\/3694296840?profile=original\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/storage.ning.com\/topology\/rest\/1.0\/file\/get\/3694296840?profile=RESIZE_710x\" class=\"align-center\"><\/a><\/p>\n<p style=\"text-align: center;\"><em>Example of underfitted, well-fitted and overfitted models<\/em><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Content<\/strong><\/span><\/p>\n<p><strong>Regression<\/strong><\/p>\n<ul>\n<li>What Is Regression?<\/li>\n<li>When Do You Need Regression?<\/li>\n<\/ul>\n<p><strong>Linear Regression<\/strong><\/p>\n<ul>\n<li>Problem Formulation<\/li>\n<li>Regression Performance<\/li>\n<li>Simple Linear Regression<\/li>\n<li>Multiple Linear Regression<\/li>\n<li>Polynomial Regression<\/li>\n<li>Underfitting and Overfitting<\/li>\n<\/ul>\n<p><strong>Implementing Linear Regression in Python<\/strong><\/p>\n<ul>\n<li>Python Packages for Linear Regression<\/li>\n<li>Simple Linear Regression With scikit-learn<\/li>\n<li>Multiple Linear Regression With scikit-learn<\/li>\n<li>Polynomial Regression With scikit-learn<\/li>\n<li>Advanced Linear Regression With statsmodels<\/li>\n<\/ul>\n<p><strong>Beyond Linear Regression<\/strong><\/p>\n<p><strong>Conclusion<\/strong><\/p>\n<p>You can access this material <a href=\"https:\/\/realpython.com\/linear-regression-in-python\/\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n<\/p>\n<\/div>\n<p><a href=\"https:\/\/www.datasciencecentral.com\/xn\/detail\/6448529:BlogPost:904939\">Go to Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Author: Vincent Granville The original article is no longer available. Similar (and more comprehensive) material is available below.\u00a0 Example of underfitted, well-fitted and overfitted models [&hellip;] <span class=\"read-more-link\"><a class=\"read-more\" href=\"https:\/\/www.aiproblog.com\/index.php\/2019\/11\/03\/linear-regression-in-python-using-numpy-scipy-and-statsmodels\/\">Read More<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":463,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[26],"tags":[],"_links":{"self":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts\/2769"}],"collection":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/comments?post=2769"}],"version-history":[{"count":0,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/posts\/2769\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/media\/461"}],"wp:attachment":[{"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/media?parent=2769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/categories?post=2769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aiproblog.com\/index.php\/wp-json\/wp\/v2\/tags?post=2769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}