{"id":179336,"date":"2024-12-30T13:46:55","date_gmt":"2024-12-30T13:46:55","guid":{"rendered":"https:\/\/learnexams.com\/blog\/?p=179336"},"modified":"2024-12-30T13:46:57","modified_gmt":"2024-12-30T13:46:57","slug":"which-of-the-following-is-a-regression-task","status":"publish","type":"post","link":"https:\/\/www.learnexams.com\/blog\/2024\/12\/30\/which-of-the-following-is-a-regression-task\/","title":{"rendered":"Which of the following is a regression task"},"content":{"rendered":"\n<p>Which of the following is a regression task? (multiple options may be correct)<\/p>\n\n\n\n<p>(a) Predicting the monthly sales of a cloth store in rupees.<\/p>\n\n\n\n<p>(b) Predicting if a user would like to listen to a newly released song or not based on historicaldata.<\/p>\n\n\n\n<p>(c) Predicting the confirmation probability (in fraction) of your train ticket whose currentstatus is waiting list based on historical data.<\/p>\n\n\n\n<p>(d) Predicting if a patient has diabetes or not based on historical medical records<\/p>\n\n\n\n<p><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-ast-global-color-6-color\"><strong>The Correct Answer and Explanation is :<\/strong><\/mark><\/p>\n\n\n\n<p>The correct options for regression tasks are:<\/p>\n\n\n\n<p><strong>(a) Predicting the monthly sales of a cloth store in rupees.<\/strong><br><strong>(c) Predicting the confirmation probability (in fraction) of your train ticket whose current status is waiting list based on historical data.<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Explanation:<\/h3>\n\n\n\n<p><strong>Regression tasks<\/strong> involve predicting a continuous value. In other words, the output variable (target variable) is a real number, often representing quantities or probabilities.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Option (a) Predicting the monthly sales of a cloth store in rupees:<\/strong> This is a regression task because the sales amount is a continuous value (measured in rupees). The task involves predicting a real-valued number based on historical data, such as previous sales, seasonality, or marketing efforts. Sales data is inherently continuous, so this task is a classic example of a regression problem.<\/li>\n\n\n\n<li><strong>Option (c) Predicting the confirmation probability (in fraction) of your train ticket whose current status is waiting list based on historical data:<\/strong> This is also a regression task. The output here is a probability, which is a continuous value between 0 and 1, representing the likelihood that the waiting-list ticket will get confirmed. Probabilities are continuous values and are typically predicted using regression models, especially when dealing with historical data.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Why the other options are not regression tasks:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Option (b) Predicting if a user would like to listen to a newly released song or not based on historical data:<\/strong> This is a <strong>classification task<\/strong>, not regression. The output is categorical, either &#8220;Yes&#8221; or &#8220;No,&#8221; meaning it&#8217;s a binary classification problem, where the goal is to classify the user\u2019s preference, not predict a continuous value.<\/li>\n\n\n\n<li><strong>Option (d) Predicting if a patient has diabetes or not based on historical medical records:<\/strong> This is also a <strong>classification task<\/strong>. The output is categorical, with two classes\u2014diabetic or not\u2014so it involves assigning the patient to one of these two categories, not predicting a continuous value.<\/li>\n<\/ul>\n\n\n\n<p>In summary, regression tasks predict continuous values, whereas classification tasks predict discrete categories. Therefore, (a) and (c) are regression tasks, while (b) and (d) are classification tasks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Which of the following is a regression task? (multiple options may be correct) (a) Predicting the monthly sales of a cloth store in rupees. (b) Predicting if a user would like to listen to a newly released song or not based on historicaldata. (c) Predicting the confirmation probability (in fraction) of your train ticket whose [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[25],"tags":[],"class_list":["post-179336","post","type-post","status-publish","format-standard","hentry","category-exams-certification"],"_links":{"self":[{"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/posts\/179336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/comments?post=179336"}],"version-history":[{"count":0,"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/posts\/179336\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/media?parent=179336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/categories?post=179336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/tags?post=179336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}