{"id":196,"date":"2023-04-12T13:56:28","date_gmt":"2023-04-12T13:56:28","guid":{"rendered":"https:\/\/edu.2aegh.org\/?p=196"},"modified":"2023-04-13T17:25:16","modified_gmt":"2023-04-13T17:25:16","slug":"ridge-and-lasso-regression","status":"publish","type":"post","link":"https:\/\/www.2aegh.ir\/?p=196","title":{"rendered":"Ridge and lasso regression"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In this Persian tutorial, we work on the concrete dataset and run a Ridge regression and Lasso regression model in Python on it. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This video has been uploaded to both YouTube and Aparat.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Download Dataset:<gwmw style=\"display:none;\"><\/gwmw><\/h2>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-0375eaee-faa4-4a02-9a11-fd8b10c976c7\" href=\"https:\/\/2aegh.ir\/wordpress2\/wp-content\/uploads\/2023\/04\/Concrete_Data.xls\">Data set: Concrete<\/a><a href=\"https:\/\/2aegh.ir\/wordpress2\/wp-content\/uploads\/2023\/04\/Concrete_Data.xls\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-0375eaee-faa4-4a02-9a11-fd8b10c976c7\">Download<\/a><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Link:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> https:\/\/archive.ics.uci.edu\/ml\/machine-learning-databases\/concrete\/compressive\/Concrete_Data.xls<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Concrete Compressive Strength:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Data Type: multivariate<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Abstract: Concrete is the most important material in civil engineering. The<br>concrete compressive strength is a highly nonlinear function of age and<br>ingredients. These ingredients include cement, blast furnace slag, fly ash,<br>water, superplasticizer, coarse aggregate, and fine aggregate.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Sources:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Original Owner and Donor<br>Prof. I-Cheng Yeh<br>Department of Information Management<br>Chung-Hua University,<br>Hsin Chu, Taiwan 30067, R.O.C.<br>e-mail:icyeh@chu.edu.tw<br>TEL:886-3-5186511<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Date Donated: August 3, 2007<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Data Characteristics:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The actual concrete compressive strength (MPa) for a given mixture under a<br>specific age (days) was determined from laboratory. Data is in raw form (not scaled).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Summary Statistics:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Number of instances (observations): 1030<br>Number of Attributes: 9<br>Attribute breakdown: 8 quantitative input variables, and 1 quantitative output variable<br>Missing Attribute Values: None<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Variable Information:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Given is the variable name, variable type, the measurement unit and a brief description.<br>The concrete compressive strength is the regression problem. The order of this listing<br>corresponds to the order of numerals along the rows of the database.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Name &#8212; Data Type &#8212; Measurement &#8212; Description<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Cement (component 1) &#8212; quantitative &#8212; kg in a m3 mixture &#8212; Input Variable<br>Blast Furnace Slag (component 2) &#8212; quantitative &#8212; kg in a m3 mixture &#8212; Input Variable<br>Fly Ash (component 3) &#8212; quantitative &#8212; kg in a m3 mixture &#8212; Input Variable<br>Water (component 4) &#8212; quantitative &#8212; kg in a m3 mixture &#8212; Input Variable<br>Superplasticizer (component 5) &#8212; quantitative &#8212; kg in a m3 mixture &#8212; Input Variable<br>Coarse Aggregate (component 6) &#8212; quantitative &#8212; kg in a m3 mixture &#8212; Input Variable<br>Fine Aggregate (component 7) &#8212; quantitative &#8212; kg in a m3 mixture &#8212; Input Variable<br>Age &#8212; quantitative &#8212; Day (1~365) &#8212; Input Variable<br>Concrete compressive strength &#8212; quantitative &#8212; MPa &#8212; Output Variable<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Ridge and Lasso regression (Persian tutorial)\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/tOZb0tbk9g4?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<iframe id=\"wp-aparat-block-1681308132196\" class=\"wp-block-wp-aparat-aparat-block undefined aparat-frame aparat-full-frame\" src=\"https:\/\/www.aparat.com\/video\/video\/embed\/videohash\/rXEAO\/vt\/frame\" width=\"100%\" allowfullscreen><\/iframe>\n","protected":false},"excerpt":{"rendered":"<p>In this Persian tutorial, we work on the concrete dataset and run a Ridge regression and Lasso regression model in Python on it. This video has been uploaded to both YouTube and Aparat. Download Dataset: Link: https:\/\/archive.ics.uci.edu\/ml\/machine-learning-databases\/concrete\/compressive\/Concrete_Data.xls Concrete Compressive Strength: Data Type: multivariate Abstract: Concrete is the most important material in civil engineering. Theconcrete compressive [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":200,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[7],"tags":[],"class_list":["post-196","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-persian-tutorial"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.2aegh.ir\/index.php?rest_route=\/wp\/v2\/posts\/196","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.2aegh.ir\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.2aegh.ir\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.2aegh.ir\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.2aegh.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=196"}],"version-history":[{"count":5,"href":"https:\/\/www.2aegh.ir\/index.php?rest_route=\/wp\/v2\/posts\/196\/revisions"}],"predecessor-version":[{"id":205,"href":"https:\/\/www.2aegh.ir\/index.php?rest_route=\/wp\/v2\/posts\/196\/revisions\/205"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.2aegh.ir\/index.php?rest_route=\/wp\/v2\/media\/200"}],"wp:attachment":[{"href":"https:\/\/www.2aegh.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.2aegh.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.2aegh.ir\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}