{"id":12998,"date":"2020-08-13T16:51:10","date_gmt":"2020-08-13T16:51:10","guid":{"rendered":"https:\/\/holypython.com\/?page_id=12998"},"modified":"2021-03-28T00:36:36","modified_gmt":"2021-03-28T00:36:36","slug":"linear-regression-pros-cons","status":"publish","type":"page","link":"https:\/\/holypython.com\/lin-reg\/linear-regression-pros-cons\/","title":{"rendered":"Linear Regression Pros &#038; Cons"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"12998\" class=\"elementor elementor-12998\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a37cc04 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a37cc04\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c282e50\" data-id=\"c282e50\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-79861df elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"79861df\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-cfe3554\" data-id=\"cfe3554\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-be2cd8d elementor-widget elementor-widget-heading\" data-id=\"be2cd8d\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Linear Regression<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f91f488 elementor-widget elementor-widget-heading\" data-id=\"f91f488\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Pros &amp; Cons<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6d6786f elementor-section-stretched elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"6d6786f\" data-element_type=\"section\" data-settings=\"{&quot;stretch_section&quot;:&quot;section-stretched&quot;,&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-65d4428\" data-id=\"65d4428\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-78cc2ce elementor-widget elementor-widget-heading\" data-id=\"78cc2ce\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">linear regression<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-08b7162 elementor-widget elementor-widget-heading\" data-id=\"08b7162\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Advantages<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-16df95e\" data-id=\"16df95e\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e6e96a3 elementor-view-default elementor-position-top elementor-mobile-position-top elementor-widget elementor-widget-icon-box\" data-id=\"e6e96a3\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"47.543\" height=\"49.5\" viewBox=\"0 0 47.543 49.5\"><g transform=\"translate(-126.79 -215.97)\"><path d=\"M142.85,240.533h9.827c4.585,0,9.159-3.812,8.337-8.3l-1.957-10.672c-.479-2.616-2.191-4.841-4.862-4.841H141.332c-2.67,0-4.383,2.221-4.862,4.841l-1.957,10.672c-.822,4.491,3.752,8.3,8.337,8.3Z\" transform=\"translate(2.798 0)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M137.042,235.859h20.944A2.018,2.018,0,0,1,160,237.867V239.1a2.018,2.018,0,0,1-2.017,2.007H137.042a2.018,2.018,0,0,1-2.017-2.007v-1.236a2.018,2.018,0,0,1,2.017-2.008Z\" transform=\"translate(3.047 7.812)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M136.155,247.972a2,2,0,1,1-2,2,2,2,0,0,1,2-2Z\" transform=\"translate(2.719 12.756)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M144.431,247.972a2,2,0,1,1-2,2,2,2,0,0,1,2-2Z\" transform=\"translate(6.13 12.756)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M152.707,247.972a2,2,0,1,1-2,2,2,2,0,0,1,2-2Z\" transform=\"translate(9.54 12.756)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><line y2=\"11.526\" transform=\"translate(150.561 248.922)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><path d=\"M136.162,248.828a8.543,8.543,0,0,1,2.519-2.476,13.218,13.218,0,0,1,3.736-1.669,17.393,17.393,0,0,1,9.15,0,13.218,13.218,0,0,1,3.736,1.669,8.544,8.544,0,0,1,2.519,2.476\" transform=\"translate(3.569 11.164)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M127.561,230.122l3.029-.087c6.009-.191-.576,13.585,6.241,13.456.13,0,2.264-.01,2.405-.023\" transform=\"translate(0 5.434)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M163.529,230.122l-3.029-.087c-6.007-.191.576,13.585-6.241,13.456-.13,0-2.264-.01-2.405-.023\" transform=\"translate(10.032 5.434)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><line y2=\"2.038\" transform=\"translate(150.561 241.632)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><\/g><\/svg>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\t1- Fast\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\t<i>Like most linear models, Ordinary Least Squares is a fast, efficient algorithm. You can implement it with a dusty old machine and still get pretty good results.<\/i>\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ed94263 elementor-view-default elementor-position-top elementor-mobile-position-top elementor-widget elementor-widget-icon-box\" data-id=\"ed94263\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"49.5\" height=\"49.5\" viewBox=\"0 0 49.5 49.5\"><g transform=\"translate(-385.625 -218.895)\"><path d=\"M410.374,219.645a24,24,0,1,1-24,24,24,24,0,0,1,24-24Zm13.733,10.811L412.559,242m-4.732.44-8.683-4.968\" transform=\"translate(0)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M403.574,234.136a2.709,2.709,0,1,0,2.709,2.709,2.709,2.709,0,0,0-2.709-2.709Z\" transform=\"translate(6.8 6.8)\" fill=\"none\" stroke=\"#fc91aa\" stroke-miterlimit=\"22.926\" stroke-width=\"1.5\"><\/path><line y2=\"1.688\" transform=\"translate(410.375 225.413)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><line x2=\"1.688\" transform=\"translate(392.143 243.645)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><line y1=\"1.689\" transform=\"translate(410.374 260.189)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><line x1=\"1.688\" transform=\"translate(426.918 243.646)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><\/g><\/svg>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\t2- Proven\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\t<i>Similar to Logistic Regression (which came soon after OLS in history), Linear Regression has been a breakthrough in statistical applications.<\/i><br><br><i>It has been used to identify countless patterns and predict countless values in countless domains all over the world in last couple of centuries.<\/i><br><br><i>With its computationally efficient and usually accurate nature, Ordinary Least Squares and other Linear Regression extensions remain popular both in academia and the industry.<\/i>\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-530848b\" data-id=\"530848b\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8f516c6 elementor-view-default elementor-position-top elementor-mobile-position-top elementor-widget elementor-widget-icon-box\" data-id=\"8f516c6\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"47.5\" height=\"49.707\" viewBox=\"0 0 47.5 49.707\"><g transform=\"translate(-450.354 -282.799)\"><line x2=\"24.093\" transform=\"translate(471.397 331.571)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><path d=\"M467.062,289.211l6.882,4.031c4.483,2.624,4.866,10.541.852,17.593l-.51.9L451.1,298.155l.51-.9c4.014-7.051,10.965-10.672,15.448-8.048Z\" transform=\"translate(0 2.07)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M469.709,283.829l2.963,1.735c1.931,1.13,1.451,5.671-1.066,10.094l-.319.562-9.981-5.845.319-.562c2.517-4.422,6.154-7.114,8.084-5.984Z\" transform=\"translate(4.207)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M481.992,294.159a4.1,4.1,0,1,1-4.041,4.1,4.071,4.071,0,0,1,4.041-4.1Z\" transform=\"translate(11.07 4.58)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><line x2=\"12.801\" y2=\"7.835\" transform=\"translate(477.403 292.105)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><line x1=\"7.519\" y2=\"24.773\" transform=\"translate(483.443 306.798)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><path d=\"M455.03,298.106a7.686,7.686,0,0,0,.432,4.454,7.558,7.558,0,0,0,1.593,2.4,7.439,7.439,0,0,0,2.361,1.616,7.362,7.362,0,0,0,5.786,0c.222-.1.439-.2.65-.318s.415-.242.613-.377.388-.281.572-.434\" transform=\"translate(1.557 6.287)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><\/g><\/svg>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\t3- General Tendencies\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\t<i>If you have outliers that you'd like to observe. Or if you want to conclude unexpected black-swan like scenarios this is not the model for you.<\/i><br><br><i>Like most Regression models, OLS Linear Regression is a generalist algorithm that will produce trend conforming results.<\/i>\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b3684cd elementor-view-default elementor-position-top elementor-mobile-position-top elementor-widget elementor-widget-icon-box\" data-id=\"b3684cd\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"49.5\" height=\"49.5\" viewBox=\"0 0 49.5 49.5\"><g transform=\"translate(-319.162 -344.801)\"><line x1=\"48\" transform=\"translate(319.912 366.175)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><line x1=\"39.755\" transform=\"translate(323.6 383.139)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><line x1=\"39.755\" transform=\"translate(323.791 369.86)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><path d=\"M353.571,378.923a1.879,1.879,0,1,0,1.879,1.879,1.879,1.879,0,0,0-1.879-1.879Z\" transform=\"translate(10.311 10.869)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M323.087,378.923a1.879,1.879,0,1,0,1.879,1.879,1.88,1.88,0,0,0-1.879-1.879Z\" transform=\"translate(0.422 10.869)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><line y2=\"22.809\" transform=\"translate(363.881 366.176)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><line y2=\"22.809\" transform=\"translate(323.508 366.176)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><path d=\"M333.945,362.514c1.825-1.21,3.013-4.841,2.871-6.684h-9.68c-.155,2.043,1.275,5.626,2.871,6.684\" transform=\"translate(2.339 3.348)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><line x2=\"1.693\" y2=\"13.817\" transform=\"translate(354.987 348.786)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><path d=\"M341.438,360.105l.972-6.489.842-5.625h11.465a.564.564,0,0,1,.562.541c.705,6.509-1.136,8.734-3.687,13.277l.3,2.028a1.2,1.2,0,0,1-1.247,1.247h-8.52a1.2,1.2,0,0,1-1.247-1.247l.591-3.957c-2.129-1.808-2.1-2.731-2.488-5.642a9.045,9.045,0,0,0-1.765-4.517,7.888,7.888,0,0,0-1.592-1.73h2.191l4.592,5.625\" transform=\"translate(5.089 0.795)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><line y2=\"2.721\" transform=\"translate(351.876 345.551)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><\/g><\/svg>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\t4- Strong Statistical Reporting\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\t<i>With Linear Models such as OLS (also similar in Logistic Regression scenario), you can get rich statistical insights that some other advanced or advantageous models can't provide.<\/i><br><br><i>If you are after sophisticated discoveries for direct interpretation or to create inputs for other systems and models Ordinary Linear Squares algorithm can generate a plethora of insightful results ranging from, variance, covariance, partial regression, residual plots and influence measures. <\/i><br><br><i>For this feature OLS can be viewed as a perfect supportive Machine Learning Algorithm that will complete and compete with most modern algorithms. Just keep the limitations in mind and keep on exploring!<\/i>\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c5b2630 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c5b2630\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-dfc6125\" data-id=\"dfc6125\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ec0317e elementor-widget-divider--view-line_text elementor-widget-divider--separator-type-pattern elementor-widget-divider--element-align-center elementor-widget elementor-widget-divider\" data-id=\"ec0317e\" data-element_type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\" style=\"--divider-pattern-url: url(&quot;data:image\/svg+xml,%3Csvg xmlns=&#039;http:\/\/www.w3.org\/2000\/svg&#039; preserveAspectRatio=&#039;none&#039; overflow=&#039;visible&#039; height=&#039;100%&#039; viewBox=&#039;0 0 24 24&#039; fill=&#039;none&#039; stroke=&#039;black&#039; stroke-width=&#039;1&#039; stroke-linecap=&#039;square&#039; stroke-miterlimit=&#039;10&#039;%3E%3Cpath d=&#039;M0,6c6,0,6,13,12,13S18,6,24,6&#039;\/%3E%3C\/svg%3E&quot;);\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t\t<span class=\"elementor-divider__text elementor-divider__element\">\n\t\t\t\tmachine learning\t\t\t\t<\/span>\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f842f6b elementor-section-stretched elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"f842f6b\" data-element_type=\"section\" data-settings=\"{&quot;stretch_section&quot;:&quot;section-stretched&quot;,&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-44c367e\" data-id=\"44c367e\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4a8959e elementor-widget elementor-widget-heading\" data-id=\"4a8959e\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">linear regression<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f6d635f elementor-widget elementor-widget-heading\" data-id=\"f6d635f\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Disadvantages<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-c540264\" data-id=\"c540264\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e33ebe6 elementor-view-default elementor-position-top elementor-mobile-position-top elementor-widget elementor-widget-icon-box\" data-id=\"e33ebe6\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"47.543\" height=\"49.5\" viewBox=\"0 0 47.543 49.5\"><g transform=\"translate(-126.79 -215.97)\"><path d=\"M142.85,240.533h9.827c4.585,0,9.159-3.812,8.337-8.3l-1.957-10.672c-.479-2.616-2.191-4.841-4.862-4.841H141.332c-2.67,0-4.383,2.221-4.862,4.841l-1.957,10.672c-.822,4.491,3.752,8.3,8.337,8.3Z\" transform=\"translate(2.798 0)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M137.042,235.859h20.944A2.018,2.018,0,0,1,160,237.867V239.1a2.018,2.018,0,0,1-2.017,2.007H137.042a2.018,2.018,0,0,1-2.017-2.007v-1.236a2.018,2.018,0,0,1,2.017-2.008Z\" transform=\"translate(3.047 7.812)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M136.155,247.972a2,2,0,1,1-2,2,2,2,0,0,1,2-2Z\" transform=\"translate(2.719 12.756)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M144.431,247.972a2,2,0,1,1-2,2,2,2,0,0,1,2-2Z\" transform=\"translate(6.13 12.756)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M152.707,247.972a2,2,0,1,1-2,2,2,2,0,0,1,2-2Z\" transform=\"translate(9.54 12.756)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><line y2=\"11.526\" transform=\"translate(150.561 248.922)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><path d=\"M136.162,248.828a8.543,8.543,0,0,1,2.519-2.476,13.218,13.218,0,0,1,3.736-1.669,17.393,17.393,0,0,1,9.15,0,13.218,13.218,0,0,1,3.736,1.669,8.544,8.544,0,0,1,2.519,2.476\" transform=\"translate(3.569 11.164)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M127.561,230.122l3.029-.087c6.009-.191-.576,13.585,6.241,13.456.13,0,2.264-.01,2.405-.023\" transform=\"translate(0 5.434)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M163.529,230.122l-3.029-.087c-6.007-.191.576,13.585-6.241,13.456-.13,0-2.264-.01-2.405-.023\" transform=\"translate(10.032 5.434)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><line y2=\"2.038\" transform=\"translate(150.561 241.632)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><\/g><\/svg>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\t1- Technical Learning Curve\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\t<i>Linear Regression in general is nothing like k Nearest Neighbors. It can be considered very distant relatives with Naive Bayes for its mathematical roots however, there are so many technical aspects to learn in the regression world.<\/i><br><br><i>This is more like an opportunity to learn about statistics and intricacies of datasets however, it's also definitely something that takes away from practicality and will discourage some of the time conscious, result oriented folks.<\/i>\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e965059 elementor-view-default elementor-position-top elementor-mobile-position-top elementor-widget elementor-widget-icon-box\" data-id=\"e965059\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"36.5\" height=\"49.808\" viewBox=\"0 0 36.5 49.808\"><g transform=\"translate(-389.914 -347.251)\"><line y2=\"8.057\" transform=\"translate(407.483 365.927)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><path d=\"M403.467,366.2l-4.045,1.806v8.722h8.026v-8.722l-3.981-1.806Z\" transform=\"translate(4.014 7.783)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M407.277,360.586h8.47a1.534,1.534,0,0,1,1.525,1.524v27.334a1.542,1.542,0,0,1-1.525,1.524H392.188a1.536,1.536,0,0,1-1.524-1.524V362.11a1.529,1.529,0,0,1,1.524-1.524Z\" transform=\"translate(0 5.341)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M409.408,384.348h2.851a4.8,4.8,0,0,0,1.841-.37,4.791,4.791,0,0,0,2.609-2.609,4.792,4.792,0,0,0,.37-1.841V368.946a4.812,4.812,0,0,0-1.29-3.269c-.039-.047-.08-.093-.123-.136h0a4.852,4.852,0,0,0-3.407-1.415h-2.851\" transform=\"translate(8.584 6.881)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M396.316,362.071a4.273,4.273,0,0,1-.5-5.62,4.119,4.119,0,0,0-.363-5.47m7.234,10.288A4.461,4.461,0,0,1,402,354.7a4.293,4.293,0,0,0-.5-6.393m7.837,13.762a4.275,4.275,0,0,1-.5-5.62,4.117,4.117,0,0,0-.363-5.47\" transform=\"translate(2.018 0)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><\/g><\/svg>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\t2- Only Linear Problems\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\t<i>Ordinary Least Squares won't work well with non-linear data. If you are not sure about the linearity or if you know your data has non-linear relations then this is a giveaway that most likely Ordinary Least Squares won't perform well for you at this time.<\/i>\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-20bdf65\" data-id=\"20bdf65\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3369797 elementor-view-default elementor-position-top elementor-mobile-position-top elementor-widget elementor-widget-icon-box\" data-id=\"3369797\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"47.5\" height=\"49.707\" viewBox=\"0 0 47.5 49.707\"><g transform=\"translate(-450.354 -282.799)\"><line x2=\"24.093\" transform=\"translate(471.397 331.571)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><path d=\"M467.062,289.211l6.882,4.031c4.483,2.624,4.866,10.541.852,17.593l-.51.9L451.1,298.155l.51-.9c4.014-7.051,10.965-10.672,15.448-8.048Z\" transform=\"translate(0 2.07)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M469.709,283.829l2.963,1.735c1.931,1.13,1.451,5.671-1.066,10.094l-.319.562-9.981-5.845.319-.562c2.517-4.422,6.154-7.114,8.084-5.984Z\" transform=\"translate(4.207)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M481.992,294.159a4.1,4.1,0,1,1-4.041,4.1,4.071,4.071,0,0,1,4.041-4.1Z\" transform=\"translate(11.07 4.58)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><line x2=\"12.801\" y2=\"7.835\" transform=\"translate(477.403 292.105)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><line x1=\"7.519\" y2=\"24.773\" transform=\"translate(483.443 306.798)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><path d=\"M455.03,298.106a7.686,7.686,0,0,0,.432,4.454,7.558,7.558,0,0,0,1.593,2.4,7.439,7.439,0,0,0,2.361,1.616,7.362,7.362,0,0,0,5.786,0c.222-.1.439-.2.65-.318s.415-.242.613-.377.388-.281.572-.434\" transform=\"translate(1.557 6.287)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><\/g><\/svg>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\t3- General Tendencies\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\t<i>If you'd like to predict outliers or if you want to conclude unexpected black-swan like scenarios this is not the model for you.<\/i><br><br><i>Like most Regression models, OLS Linear Regression is a generalist algorithm that will produce trend conforming results.<\/i>\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3bb7a7a elementor-view-default elementor-position-top elementor-mobile-position-top elementor-widget elementor-widget-icon-box\" data-id=\"3bb7a7a\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"49.5\" height=\"49.5\" viewBox=\"0 0 49.5 49.5\"><g transform=\"translate(-385.625 -218.895)\"><path d=\"M410.374,219.645a24,24,0,1,1-24,24,24,24,0,0,1,24-24Zm13.733,10.811L412.559,242m-4.732.44-8.683-4.968\" transform=\"translate(0)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M403.574,234.136a2.709,2.709,0,1,0,2.709,2.709,2.709,2.709,0,0,0-2.709-2.709Z\" transform=\"translate(6.8 6.8)\" fill=\"none\" stroke=\"#fc91aa\" stroke-miterlimit=\"22.926\" stroke-width=\"1.5\"><\/path><line y2=\"1.688\" transform=\"translate(410.375 225.413)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><line x2=\"1.688\" transform=\"translate(392.143 243.645)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><line y1=\"1.689\" transform=\"translate(410.374 260.189)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><line x1=\"1.688\" transform=\"translate(426.918 243.646)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><\/g><\/svg>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\t4- Overfitting Tendencies\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\t<i>Just because OLS is not likely to predict outlier scenarios doesn't mean OLS won't tend to overfit on outliers. Ordinary Least Squares is an inherently sensitive model which requires careful tweaking of regularization parameters.<\/i>\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-fe0825c\" data-id=\"fe0825c\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-9a04404 elementor-view-default elementor-position-top elementor-mobile-position-top elementor-widget elementor-widget-icon-box\" data-id=\"9a04404\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"47.5\" height=\"49.707\" viewBox=\"0 0 47.5 49.707\"><g transform=\"translate(-450.354 -282.799)\"><line x2=\"24.093\" transform=\"translate(471.397 331.571)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><path d=\"M467.062,289.211l6.882,4.031c4.483,2.624,4.866,10.541.852,17.593l-.51.9L451.1,298.155l.51-.9c4.014-7.051,10.965-10.672,15.448-8.048Z\" transform=\"translate(0 2.07)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M469.709,283.829l2.963,1.735c1.931,1.13,1.451,5.671-1.066,10.094l-.319.562-9.981-5.845.319-.562c2.517-4.422,6.154-7.114,8.084-5.984Z\" transform=\"translate(4.207)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><path d=\"M481.992,294.159a4.1,4.1,0,1,1-4.041,4.1,4.071,4.071,0,0,1,4.041-4.1Z\" transform=\"translate(11.07 4.58)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><line x2=\"12.801\" y2=\"7.835\" transform=\"translate(477.403 292.105)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><line x1=\"7.519\" y2=\"24.773\" transform=\"translate(483.443 306.798)\" stroke-width=\"1.5\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><\/line><path d=\"M455.03,298.106a7.686,7.686,0,0,0,.432,4.454,7.558,7.558,0,0,0,1.593,2.4,7.439,7.439,0,0,0,2.361,1.616,7.362,7.362,0,0,0,5.786,0c.222-.1.439-.2.65-.318s.415-.242.613-.377.388-.281.572-.434\" transform=\"translate(1.557 6.287)\" fill=\"none\" stroke=\"#fc91aa\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\"><\/path><\/g><\/svg>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\t5- Complicated Optimization\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\t<i>When you enter the world of regularization you might realize that this requires an intense knowledge of data and getting really hands-on.<\/i><br><br><i>There is no one regularization method that fits it all and it's not that intuitive to grasp very quickly. So, not to say there is no merit in these efforts and discussions, it might discourage someone seeking a more practical application or the general crowd.<\/i><br><br><i>It's also worth noting that perfect regularization can be difficult to validate and time consuming. On the other hand it's quite important to get it right because if you under do it you will risk overfitting on irrelevant features and if you over do it the risk is to miss out on important features that might be valuable\/relevant for future predictions.<\/i>\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4dea477 elementor-section-stretched elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"4dea477\" data-element_type=\"section\" data-settings=\"{&quot;stretch_section&quot;:&quot;section-stretched&quot;,&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-53a3cfa\" data-id=\"53a3cfa\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-95aa951 elementor-widget elementor-widget-heading\" data-id=\"95aa951\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">wrap-up<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-51a1252 elementor-align-center elementor-widget elementor-widget-raven-divider\" data-id=\"51a1252\" data-element_type=\"widget\" data-widget_type=\"raven-divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"raven-widget-wrapper\">\r\n\t\t\t<div class=\"raven-divider\">\r\n\t\t\t\t<span class=\"raven-divider-line raven-divider-solid\"><\/span>\r\n\t\t\t<\/div>\r\n\t\t<\/div>\r\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-86d2728 elementor-align-center elementor-widget elementor-widget-raven-heading\" data-id=\"86d2728\" data-element_type=\"widget\" data-widget_type=\"raven-heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"raven-widget-wrapper\"><h3 class=\"raven-heading raven-heading-h3\"><span class=\"raven-heading-title \">Linear Regression Pros &amp; Cons Summary<\/span><\/h3><\/div>\r\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-37f4fc7 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"37f4fc7\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-5fc701e\" data-id=\"5fc701e\" data-element_type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a77edb9 elementor-mobile-align-center elementor-align-left elementor-widget elementor-widget-raven-heading\" data-id=\"a77edb9\" data-element_type=\"widget\" data-widget_type=\"raven-heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"raven-widget-wrapper\"><h2 class=\"raven-heading raven-heading-h2\"><span class=\"raven-heading-title \"><i>Why Linear Regression?<\/i><\/span><\/h2><\/div>\r\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1b9e3bc elementor-widget elementor-widget-testimonial\" data-id=\"1b9e3bc\" data-element_type=\"widget\" data-widget_type=\"testimonial.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-testimonial-wrapper\">\n\t\t\t\t\t\t\t<div class=\"elementor-testimonial-content\"><i>As one of the main foundations of statistics field, Linear Regression offers tons of proven track record, reputable scientific research and many interesting extensions to choose and benefit from.<\/i><br><br><i>Like it's many regression cousins it is fast, scientific, efficient, scalable and powerful.<\/i><br><br><i><b>Don't let its initial simplicity trick you, Ordinary Least Squares and other Linear Regression Models in general require serious understanding of the nature of data in hand and also data processing and regularization methods such as scaling, normalization, missing data handling, l1 regularization, l2 regularization etc.<\/b><\/i><br><br><i>Besides that OLS can generate very useful statistical reports that might expand your technical horizons in the field.<\/i><br><br><i>When you are dealing with linear decision borders and in need of predicting continuous numerical values through regression, OLS and other extensions are highly recommended to dabble with even if you end up with a different Machine Learning Algorithm in the end.<\/i><\/div>\n\t\t\t\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-3ed8bd0\" data-id=\"3ed8bd0\" data-element_type=\"column\" data-settings=\"{&quot;animation&quot;:&quot;none&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e11c356 elementor-view-stacked elementor-position-left elementor-shape-circle elementor-mobile-position-top elementor-vertical-align-top elementor-widget elementor-widget-icon-box\" data-id=\"e11c356\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"fas fa-check\"><\/i>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\tFast\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\t<i>Linear Regression is fast and scalable. It's not very resource-hungry.<\/i>\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ccc8908 elementor-view-stacked elementor-position-left elementor-shape-circle elementor-mobile-position-top elementor-vertical-align-top elementor-widget elementor-widget-icon-box\" data-id=\"ccc8908\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"fas fa-check\"><\/i>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\tLarge Data Friendly\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\t<i>Scalability also means you can work on big data problems.<\/i>\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7e4d336 elementor-view-stacked elementor-position-left elementor-shape-circle elementor-mobile-position-top elementor-vertical-align-top elementor-widget elementor-widget-icon-box\" data-id=\"7e4d336\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"fas fa-check\"><\/i>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\tStatistical Reports\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\t<i>Statistical output you are able to produce with a Ordinary Least Squares far outweighs the trouble of data preparation (given that you are after the statistical output and deep exploration of your data and all its relation\/causalities.)<\/i>\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7060138 elementor-view-stacked elementor-position-left elementor-shape-circle elementor-mobile-position-top elementor-vertical-align-top elementor-widget elementor-widget-icon-box\" data-id=\"7060138\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"fas fa-check\"><\/i>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\tModifiable\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\t<i>You don't survive 200 something years of heavy academia and industry utilization and happen not to have any modifications. Once you open the box of Linear Regression, you discover a world of optimization, modification and extensions (OLS, WLS, ALS, Lasso, Ridge, Logistic Regression just to name a few).<\/i>\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-336cac3 elementor-view-stacked elementor-position-left elementor-shape-circle elementor-mobile-position-top elementor-vertical-align-top elementor-widget elementor-widget-icon-box\" data-id=\"336cac3\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"fas fa-times\"><\/i>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\tImplementation Restrictions\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\t<i>If your problem has non-linear tendencies Linear Regression is instantly irrelevant.<\/i>\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-45b3f67 elementor-view-stacked elementor-position-left elementor-shape-circle elementor-mobile-position-top elementor-vertical-align-top elementor-widget elementor-widget-icon-box\" data-id=\"45b3f67\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"fas fa-times\"><\/i>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\tOverfitting\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\t<i>Another problem is when data has noise or outlier and Linear Regression tends to overfit. Discovering and getting rid of overfitting can be another pain point for the unwilling practitioner. And even if you are willing, at times it can be difficult to reach optimal setup.<\/i>\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e87af42 elementor-view-stacked elementor-position-left elementor-shape-circle elementor-mobile-position-top elementor-vertical-align-top elementor-widget elementor-widget-icon-box\" data-id=\"e87af42\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"fas fa-times\"><\/i>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\tData Preperation\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\t<i>Regularization, handling missing values, scaling, normalization and data preparation can be tedious.<\/i>\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-14ca2b9 elementor-view-stacked elementor-position-left elementor-shape-circle elementor-mobile-position-top elementor-vertical-align-top elementor-widget elementor-widget-icon-box\" data-id=\"14ca2b9\" data-element_type=\"widget\" data-widget_type=\"icon-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-box-wrapper\">\n\n\t\t\t\t\t\t<div class=\"elementor-icon-box-icon\">\n\t\t\t\t<span  class=\"elementor-icon\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"fas fa-times\"><\/i>\t\t\t\t<\/span>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t\t\t\t<div class=\"elementor-icon-box-content\">\n\n\t\t\t\t\t\t\t\t\t<h4 class=\"elementor-icon-box-title\">\n\t\t\t\t\t\t<span  >\n\t\t\t\t\t\t\tLearning Curve\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/h4>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<p class=\"elementor-icon-box-description\">\n\t\t\t\t\t\t<i>Even interpreting the results of Linear Regression as they are intended in a meaningful way can take some education which makes it a bit less appealing to non-statistical audience.<\/i>\t\t\t\t\t<\/p>\n\t\t\t\t\n\t\t\t<\/div>\n\t\t\t\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Linear Regression Pros &amp; Cons linear regression Advantages 1- Fast Like most linear models, Ordinary Least Squares is a fast, efficient algorithm. You can implement it with a dusty old machine and still get pretty good results. 2- Proven Similar to Logistic Regression (which came soon after OLS in history), Linear Regression has been a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":11456,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-12998","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/pages\/12998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/comments?post=12998"}],"version-history":[{"count":0,"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/pages\/12998\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/pages\/11456"}],"wp:attachment":[{"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/media?parent=12998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}