{"id":25558839,"date":"2023-04-17T12:31:31","date_gmt":"2023-04-17T07:01:31","guid":{"rendered":"https:\/\/entri.app\/blog\/?p=25558839"},"modified":"2023-05-22T12:02:19","modified_gmt":"2023-05-22T06:32:19","slug":"logistic-regression-in-machine-learning","status":"publish","type":"post","link":"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/","title":{"rendered":"Logistic Regression in Machine learning"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_79_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69e5635488494\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69e5635488494\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#_What_is_Logistic_Regression_in_Machine_Learning\" >\u00a0What is Logistic Regression in Machine Learning?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#_Linear_Regression_Vs_Logistic_Regression\" >\u00a0Linear Regression Vs Logistic Regression<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#Types_of_Logistic_Regression\" >Types of Logistic Regression<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#Calculation_Behind_Logistic_Regression\" >Calculation Behind Logistic Regression<\/a><\/li><\/ul><\/nav><\/div>\n<p>Logistics regression is one of the top best and simplest machine learning modeling algorithms. With this article, we are explaining in depth about logistic regression, when to use the Logistic regression model and some of the important aspects to understand while using logistic regression.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"_What_is_Logistic_Regression_in_Machine_Learning\"><\/span><strong>\u00a0<\/strong><strong>What is Logistic Regression in Machine Learning?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Generally, the method of logistic regression is used to model an event&#8217;s probability. One illustration of supervised learning is logistic regression. It is used to determine or forecast the likelihood that a binary (yes\/no) event will occur. One use of machine learning to identify whether a person is likely to have the COVID-19 virus or not is an example of logistic regression. Binary classification refers to the fact that there are only two answers to this question: either they are infected or they are not.<\/p>\n<p style=\"text-align: center;\"><strong><a href=\"https:\/\/entri.app\/course\/data-science-and-machine-learning-course\/\" target=\"_blank\" rel=\"noopener\">Looking for a Data Science Career? Explore Here!!<\/a><\/strong><\/p>\n<p>In this hypothetical example, the likelihood that a person may contract COVID-19 could depend on the viral load, the symptoms, the existence of antibodies, etc. Our factors (Independent Variables) would include the viral load, symptoms, and antibodies, and these would have an impact on our result (Dependent Variable).<\/p>\n<p><strong><div class=\"lead-gen-block\"><a href=\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2023\/05\/1_merged-3_compressed.pdf\" data-url=\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2023\/05\/1_merged-3_compressed.pdf\" class=\"lead-pdf-download\" data-id=\"25556853\"><\/strong><\/p>\n<p style=\"text-align: center;\"><button class=\"btn btn-default\">Free SQL Tutorial for Beginners &#8211; Download PDF<\/button><\/p>\n<p><strong><\/a><\/div><\/strong><\/p>\n<h2><span class=\"ez-toc-section\" id=\"_Linear_Regression_Vs_Logistic_Regression\"><\/span><strong>\u00a0<\/strong><strong>Linear Regression Vs Logistic Regression<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The output of a linear regression is continuous and open-ended. The projected outcome in the case of logistic regression, however, is discrete and limited to a small set of values. A machine learning algorithm called linear regression is based on the supervised regression technique. Regression uses independent variables to model a goal prediction value. It is mostly used to determine how variables and forecasting relate to one another. Regression models vary according to the quantity of independent variables they use as well as the type of relationship they take into account between the dependent and independent variables.<\/p>\n<p>Essentially, supervised categorization is what logistic regression does. For a given collection of features in a classification issue, the target variable (or output), y, can only take discrete values (or inputs). Hence, logistic regression is an example of a classification model, whereas linear regression is an example of a regression model.<\/p>\n<p><strong><em>\u00a0<\/em><em>Related Article: <\/em><a href=\"https:\/\/entri.app\/blog\/linear-regression-concepts-machine-learning-algorithm\/\"><em>Linear Regression Concepts<\/em><\/a><\/strong><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Types_of_Logistic_Regression\"><\/span><strong>Types of Logistic Regression<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Basically, the Logistic Regression is classified into Three different types. They are:<\/p>\n<ol>\n<li>Binary Logistic Regression<\/li>\n<li>Multinomial Logistic Regression and<\/li>\n<li>Ordinal Logistic Regression.<\/li>\n<\/ol>\n<p>When there are only two possible outcomes, as in our initial example of whether a person is likely to have COVID-19 or not, we use <strong>binary logistic regression<\/strong>. When there are numerous possible outcomes, such as if we expand on our previous example to determine whether a person might have the flu, an allergy, a cold, or COVID-19, we use <strong>multinomial logistic regression<\/strong>. And the third one, <strong>Ordinal logistic regression<\/strong> is used when the result is ordered, like in the instance where we extend our initial example to include grading COVID-19 infections into mild, moderate, and severe categories.<\/p>\n<p style=\"text-align: center;\"><strong><a href=\"https:\/\/entri.app\/course\/data-science-and-machine-learning-course\/\" target=\"_blank\" rel=\"noopener\">Ready to take your data science skills to the next level? Sign up for a free demo today!<\/a><\/strong><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Calculation_Behind_Logistic_Regression\"><\/span><strong>Calculation Behind Logistic Regression<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The probability is constantly between 0 (does not occur) and 1. (happens). Considering our Covid-19 example, the chance of testing positively and not testing positively will total to 1 in the event of binary categorization. In logistic regression, probability is calculated using the logistic function or the sigmoid function. A straightforward S-shaped curve called the logistic function is used to translate data into a value between 0 and 1.<\/p>\n<p>Mathematically we can write,<\/p>\n<p><strong>P(Y) = 1\/ 1+e-(b0-BX) <\/strong>where, P (Y) is the output of Logistic function and the value lies between or equal to 0 and 1, B0 is the slope, B is the Y intercept, and X is the independent variable.<\/p>\n<h4><strong>\u00a0<\/strong><strong>Wrap Up<\/strong><\/h4>\n<p>The fundamental benefit of logistic regression is that compared to other machine learning and AI applications, it is significantly simpler to set up and train. When the various outcomes or distinctions represented by the data are linearly separable, it is one of the most effective algorithms. This implies that a straight line can be drawn to divide the outcomes of a logistic regression calculation.<\/p>\n<p>The ability to expose the correlations between many variables and their effects on results is one of logistic regression&#8217;s greatest draws for statisticians. This could rapidly ascertain whether two factors are favourably or negatively correlated, like in the case of the discovery that more studying is typically associated with better test results.<\/p>\n<h3>Free Tutorials To Learn<\/h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"176\" \/>\n<col width=\"100\" \/><\/colgroup>\n<tbody>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;SQL Tutorial for Beginners PDF - Learn SQL Basics&quot;}\" data-sheets-hyperlink=\"https:\/\/entri.app\/blog\/sql-tutorial\/\">SQL Tutorial for Beginners PDF &#8211; Learn SQL Basics<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Learn Now&quot;}\"><strong><div class=\"lead-gen-block\"><a href=\"https:\/\/entri.app\/blog\/sql-tutorial\/\" data-url=\"https:\/\/entri.app\/blog\/sql-tutorial\/\" class=\"lead-pdf-download\" data-id=\"25556853\"><\/strong><\/p>\n<p><button class=\"btn btn-default\">Learn Now<br \/>\n<\/button><\/p>\n<p><strong><\/a><\/div><\/strong><\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;HTML Exercises to Practice | HTML Tutorial&quot;}\" data-sheets-hyperlink=\"https:\/\/entri.app\/blog\/html-exercises-to-practice-html-tutorial\/\">HTML Exercises to Practice | HTML Tutorial<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Learn Now&quot;}\"><strong><div class=\"lead-gen-block\"><a href=\"https:\/\/entri.app\/blog\/html-exercises-to-practice-html-tutorial\/\" data-url=\"https:\/\/entri.app\/blog\/html-exercises-to-practice-html-tutorial\/\" class=\"lead-pdf-download\" data-id=\"25556853\"><\/strong><\/p>\n<p><button class=\"btn btn-default\">Learn Now<br \/>\n<\/button><\/p>\n<p><strong><\/a><\/div><\/strong><\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;DSA Practice Series | DSA Tutorials&quot;}\" data-sheets-hyperlink=\"https:\/\/entri.app\/blog\/dsa-practice-series-dsa-tutorials\/\">DSA Practice Series | DSA Tutorials<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Learn Now&quot;}\"><strong><div class=\"lead-gen-block\"><a href=\"https:\/\/entri.app\/blog\/dsa-practice-series-dsa-tutorials\/\" data-url=\"https:\/\/entri.app\/blog\/dsa-practice-series-dsa-tutorials\/\" class=\"lead-pdf-download\" data-id=\"25556853\"><\/strong><\/p>\n<p><button class=\"btn btn-default\">Learn Now<br \/>\n<\/button><\/p>\n<p><strong><\/a><\/div><\/strong><\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Java Programming Notes PDF 2023&quot;}\" data-sheets-hyperlink=\"https:\/\/entri.app\/blog\/java-programming-notes-pdf\/\">Java Programming Notes PDF 2023<\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Learn Now&quot;}\"><strong><div class=\"lead-gen-block\"><a href=\"https:\/\/entri.app\/blog\/java-programming-notes-pdf\/\" data-url=\"https:\/\/entri.app\/blog\/java-programming-notes-pdf\/\" class=\"lead-pdf-download\" data-id=\"25556853\"><\/strong><\/p>\n<p><a href=\"https:\/\/entri.app\/blog\/java-programming-notes-pdf\/\"><button class=\"btn btn-default\">Learn Now<br \/>\n<\/button><\/a><\/p>\n<p><strong><\/a><\/div><\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: center;\"><strong><a href=\"https:\/\/entri.app\/course\/data-science-and-machine-learning-course\/\" target=\"_blank\" rel=\"noopener\">Experience the power of our machine learning course with a free demo &#8211; Enroll Now!<\/a><\/strong><\/p>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"393\" \/>\n<col width=\"446\" \/><\/colgroup>\n<tbody>\n<tr>\n<td style=\"text-align: center;\" colspan=\"2\" rowspan=\"1\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Related Articles &quot;}\"><strong>Related Articles<\/strong><\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Best Data Science Skills&quot;}\" data-sheets-hyperlink=\"https:\/\/entri.app\/blog\/best-data-science-skills-for-data-science-career\/\"><strong><a href=\"https:\/\/entri.app\/blog\/linear-regression-concepts-machine-learning-algorithm\/\" target=\"_blank\" rel=\"noopener\">Linear Regression Concepts<\/a><\/strong><\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Machine Learning Basics&quot;}\" data-sheets-hyperlink=\"https:\/\/entri.app\/blog\/understanding-machine-learning-basics-a-simple-guide\/\"><strong><a class=\"in-cell-link\" href=\"https:\/\/entri.app\/blog\/understanding-machine-learning-basics-a-simple-guide\/\" target=\"_blank\" rel=\"noopener\">Machine Learning Basics<\/a><\/strong><\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;EDA Steps, Importance &quot;}\" data-sheets-hyperlink=\"https:\/\/entri.app\/blog\/exploratory-data-analysis-in-machine-learning\/\"><strong><a class=\"in-cell-link\" href=\"https:\/\/entri.app\/blog\/exploratory-data-analysis-in-machine-learning\/\" target=\"_blank\" rel=\"noopener\">EDA Steps, Importance<\/a><\/strong><\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;EDA Techniques&quot;}\" data-sheets-hyperlink=\"https:\/\/entri.app\/blog\/exploratory-data-analysis-techniques\/\"><strong><a class=\"in-cell-link\" href=\"https:\/\/entri.app\/blog\/exploratory-data-analysis-techniques\/\" target=\"_blank\" rel=\"noopener\">EDA Techniques<\/a><\/strong><\/td>\n<\/tr>\n<tr>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Data Analysis &quot;}\" data-sheets-hyperlink=\"https:\/\/entri.app\/blog\/data-analysis-process-methods-types\/\"><strong><a class=\"in-cell-link\" href=\"https:\/\/entri.app\/blog\/data-analysis-process-methods-types\/\" target=\"_blank\" rel=\"noopener\">Data Analysis<\/a><\/strong><\/td>\n<td data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Importance of Data Preprocessing in ML&quot;}\" data-sheets-hyperlink=\"https:\/\/entri.app\/blog\/importance-of-data-preprocessing-in-machine-learning\/\"><strong><a class=\"in-cell-link\" href=\"https:\/\/entri.app\/blog\/importance-of-data-preprocessing-in-machine-learning\/\" target=\"_blank\" rel=\"noopener\">Importance of Data Preprocessing in ML<\/a><\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"modal\" id=\"modal25556853\"><div class=\"modal-content\"><span class=\"close-button\">&times;<\/span>\n\n<div class=\"wpcf7 no-js\" id=\"wpcf7-f25556853-o1\" lang=\"en-US\" dir=\"ltr\" data-wpcf7-id=\"25556853\">\n<div class=\"screen-reader-response\"><p role=\"status\" aria-live=\"polite\" aria-atomic=\"true\"><\/p> <ul><\/ul><\/div>\n<form action=\"\/blog\/wp-json\/wp\/v2\/posts\/25558839#wpcf7-f25556853-o1\" method=\"post\" class=\"wpcf7-form init\" aria-label=\"Contact form\" novalidate=\"novalidate\" data-status=\"init\">\n<fieldset class=\"hidden-fields-container\"><input type=\"hidden\" name=\"_wpcf7\" value=\"25556853\" \/><input type=\"hidden\" name=\"_wpcf7_version\" value=\"6.1.4\" \/><input type=\"hidden\" name=\"_wpcf7_locale\" value=\"en_US\" \/><input type=\"hidden\" name=\"_wpcf7_unit_tag\" value=\"wpcf7-f25556853-o1\" \/><input type=\"hidden\" name=\"_wpcf7_container_post\" value=\"0\" \/><input type=\"hidden\" name=\"_wpcf7_posted_data_hash\" value=\"\" \/><input type=\"hidden\" name=\"_wpcf7cf_hidden_group_fields\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_hidden_groups\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_visible_groups\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_repeaters\" value=\"[]\" \/><input type=\"hidden\" name=\"_wpcf7cf_steps\" value=\"{}\" \/><input type=\"hidden\" name=\"_wpcf7cf_options\" value=\"{&quot;form_id&quot;:25556853,&quot;conditions&quot;:[],&quot;settings&quot;:{&quot;animation&quot;:&quot;yes&quot;,&quot;animation_intime&quot;:200,&quot;animation_outtime&quot;:200,&quot;conditions_ui&quot;:&quot;normal&quot;,&quot;notice_dismissed&quot;:false,&quot;notice_dismissed_update-cf7-5.9.8&quot;:true,&quot;notice_dismissed_update-cf7-6.1.1&quot;:true}}\" \/>\n<\/fieldset>\n<p><span class=\"wpcf7-form-control-wrap\" data-name=\"full_name\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Name\" value=\"\" type=\"text\" name=\"full_name\" \/><\/span><br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"phone\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-tel wpcf7-validates-as-required wpcf7-text wpcf7-validates-as-tel\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Phone\" value=\"\" type=\"tel\" name=\"phone\" \/><\/span><br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"email_id\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-email wpcf7-text wpcf7-validates-as-email\" aria-invalid=\"false\" placeholder=\"Email\" value=\"\" type=\"email\" name=\"email_id\" \/><\/span><br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"language\"><select class=\"wpcf7-form-control wpcf7-select wpcf7-validates-as-required\" aria-required=\"true\" aria-invalid=\"false\" name=\"language\"><option value=\"\">Language<\/option><option value=\"Malayalam\">Malayalam<\/option><option value=\"Tamil\">Tamil<\/option><option value=\"Telugu\">Telugu<\/option><option value=\"Kannada\">Kannada<\/option><option value=\"Hindi\">Hindi<\/option><\/select><\/span><br \/>\n<span class=\"wpcf7-form-control-wrap\" data-name=\"course\"><select class=\"wpcf7-form-control wpcf7-select wpcf7-validates-as-required course-field-select\" aria-required=\"true\" aria-invalid=\"false\" name=\"course\"><option value=\"\">Upskill in<\/option><option value=\"Commerce\">Commerce<\/option><option value=\"Coding\">Coding<\/option><option value=\"Robotics &amp; AI Course\">Robotics &amp; AI Course<\/option><option value=\"Stock Market Course\">Stock Market Course<\/option><option value=\"Spoken English\">Spoken English<\/option><option value=\"German Language\">German Language<\/option><option value=\"Montessori Teacher Training\">Montessori Teacher Training<\/option><option value=\"IELTS\">IELTS<\/option><option value=\"OET\">OET<\/option><option value=\"MEP\">MEP<\/option><option value=\"Embedded System Software Engineering\">Embedded System Software Engineering<\/option><option value=\"Quantity Surveying\">Quantity Surveying<\/option><option value=\"Hospital and Healthcare Administration\">Hospital and Healthcare Administration<\/option><option value=\"Yoga TTC\">Yoga TTC<\/option><option value=\"Digital Marketing\">Digital Marketing<\/option><option value=\"AI for Teachers\">AI for Teachers<\/option><option value=\"Arabic\">Arabic<\/option><\/select><\/span>\n<\/p>\n<div data-id=\"group-coding\" data-orig_data_id=\"group-coding\" data-clear_on_hide class=\"\" data-class=\"wpcf7cf_group\">\n\t<p><span class=\"wpcf7-form-control-wrap\" data-name=\"course_name\"><select class=\"wpcf7-form-control wpcf7-select wpcf7-validates-as-required course-name-select\" aria-required=\"true\" aria-invalid=\"false\" name=\"course_name\"><option value=\"\">Select Course<\/option><option value=\"Full Stack Development\">Full Stack Development<\/option><option value=\"Data Science and ML\">Data Science and ML<\/option><option value=\"Software Testing\">Software Testing<\/option><option value=\"Python Programming\">Python Programming<\/option><option value=\"AWS Training\">AWS Training<\/option><\/select><\/span>\n\t<\/p>\n<\/div>\n<div data-id=\"group-accounting\" data-orig_data_id=\"group-accounting\" data-clear_on_hide class=\"\" data-class=\"wpcf7cf_group\">\n\t<p><span class=\"wpcf7-form-control-wrap\" data-name=\"course_name\"><select class=\"wpcf7-form-control wpcf7-select wpcf7-validates-as-required course-name-select\" aria-required=\"true\" aria-invalid=\"false\" name=\"course_name\"><option value=\"\">Select Course<\/option><option value=\"Business Accounting\">Business Accounting<\/option><option value=\"CMA USA\">CMA USA<\/option><option value=\"Enrolled Agent\">Enrolled Agent<\/option><option value=\"SAP FICO\">SAP FICO<\/option><option value=\"SAP MM\">SAP MM<\/option><option value=\"SAP SD\">SAP SD<\/option><option value=\"ACCA\">ACCA<\/option><option value=\"Tally\">Tally<\/option><option value=\"UAE Accounting\">UAE Accounting<\/option><option value=\"GST\">GST<\/option><\/select><\/span>\n\t<\/p>\n<\/div>\n<p><span class=\"wpcf7-form-control-wrap\" data-name=\"education\"><input size=\"40\" maxlength=\"400\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required\" aria-required=\"true\" aria-invalid=\"false\" placeholder=\"Educational qualification\" value=\"\" type=\"text\" name=\"education\" \/><\/span>\n<\/p>\n<div style=\"display:none\">\n<input class=\"wpcf7-form-control wpcf7-hidden course-name-input\" value=\"\" type=\"hidden\" name=\"course_name\" \/>\n<input class=\"wpcf7-form-control wpcf7-hidden utm-source\" value=\"\" type=\"hidden\" name=\"utm_source\" \/>\n<input class=\"wpcf7-form-control wpcf7-hidden utm-medium\" value=\"\" type=\"hidden\" name=\"utm_medium\" \/>\n<input class=\"wpcf7-form-control wpcf7-hidden utm-campaign\" value=\"\" type=\"hidden\" name=\"utm_campaign\" \/>\n<input class=\"wpcf7-form-control wpcf7-hidden utm-content\" value=\"\" type=\"hidden\" name=\"utm_content\" \/>\n<input class=\"wpcf7-form-control wpcf7-hidden utm-term\" value=\"\" type=\"hidden\" name=\"utm_term\" \/>\n<input class=\"wpcf7-form-control wpcf7-hidden blog-url\" value=\"\" type=\"hidden\" name=\"blog_url\" \/>\n<input class=\"wpcf7-form-control wpcf7-hidden post-category-name\" value=\"\" type=\"hidden\" name=\"post_category_name\" \/>\n<input class=\"wpcf7-form-control wpcf7-hidden post-author-name\" value=\"\" type=\"hidden\" name=\"post_author_name\" \/>\n<input class=\"wpcf7-form-control wpcf7-hidden file-url\" value=\"\" type=\"hidden\" name=\"file_url\" \/>\n<input class=\"wpcf7-form-control wpcf7-hidden video-url\" value=\"\" type=\"hidden\" name=\"video_url\" \/>\n<input class=\"wpcf7-form-control wpcf7-hidden courseid\" value=\"\" type=\"hidden\" name=\"course_id\" \/>\n<\/div>\n<div class=\"cf7-cf-turnstile\" style=\"margin-top: 0px; margin-bottom: -15px;\"> <div id=\"cf-turnstile-cf7-366513446\" class=\"cf-turnstile\" data-sitekey=\"0x4AAAAAABVigxtkiZeGTu5L\" data-theme=\"light\" data-language=\"auto\" data-size=\"normal\" data-retry=\"auto\" data-retry-interval=\"1000\" data-action=\"contact-form-7\" data-appearance=\"always\"><\/div> <script>document.addEventListener(\"DOMContentLoaded\", function() { setTimeout(function(){ var e=document.getElementById(\"cf-turnstile-cf7-366513446\"); e&&!e.innerHTML.trim()&&(turnstile.remove(\"#cf-turnstile-cf7-366513446\"), turnstile.render(\"#cf-turnstile-cf7-366513446\", {sitekey:\"0x4AAAAAABVigxtkiZeGTu5L\"})); }, 0); });<\/script> <br class=\"cf-turnstile-br cf-turnstile-br-cf7-366513446\"> <style>#cf-turnstile-cf7-366513446 { margin-left: -15px; }<\/style> <script>document.addEventListener(\"DOMContentLoaded\",function(){document.querySelectorAll('.wpcf7-form').forEach(function(e){e.addEventListener('submit',function(){if(document.getElementById('cf-turnstile-cf7-366513446')){setTimeout(function(){turnstile.reset('#cf-turnstile-cf7-366513446');},1000)}})})});<\/script> <\/div><br\/><input class=\"wpcf7-form-control wpcf7-submit has-spinner\" type=\"submit\" value=\"Submit\" \/>\n<\/p><div class=\"wpcf7-response-output\" aria-hidden=\"true\"><\/div>\n<\/form>\n<\/div>\n\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Logistics regression is one of the top best and simplest machine learning modeling algorithms. With this article, we are explaining in depth about logistic regression, when to use the Logistic regression model and some of the important aspects to understand while using logistic regression. \u00a0What is Logistic Regression in Machine Learning? Generally, the method of [&hellip;]<\/p>\n","protected":false},"author":119,"featured_media":25558845,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[802,1864,1841],"tags":[],"class_list":["post-25558839","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles","category-data-science-ml","category-entri-skilling"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Logistic Regression in Machine learning - Entri Blog<\/title>\n<meta name=\"description\" content=\"Logistic regression in machine learning is one of the top and simplest machine learning modeling algorithms. Know logical regression in depth\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Logistic Regression in Machine learning - Entri Blog\" \/>\n<meta property=\"og:description\" content=\"Logistic regression in machine learning is one of the top and simplest machine learning modeling algorithms. Know logical regression in depth\" \/>\n<meta property=\"og:url\" content=\"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/\" \/>\n<meta property=\"og:site_name\" content=\"Entri Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/entri.me\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-17T07:01:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-22T06:32:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2023\/04\/Logistic-regression-in-machine-learning.png\" \/>\n\t<meta property=\"og:image:width\" content=\"820\" \/>\n\t<meta property=\"og:image:height\" content=\"615\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Vishnu K V\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@entri_app\" \/>\n<meta name=\"twitter:site\" content=\"@entri_app\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vishnu K V\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/\"},\"author\":{\"name\":\"Vishnu K V\",\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/person\/1b415089342c8fc9f0590bb666c212e6\"},\"headline\":\"Logistic Regression in Machine learning\",\"datePublished\":\"2023-04-17T07:01:31+00:00\",\"dateModified\":\"2023-05-22T06:32:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/\"},\"wordCount\":868,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/entri.app\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2023\/04\/Logistic-regression-in-machine-learning.png\",\"articleSection\":[\"Articles\",\"Data Science and Machine Learning\",\"Entri Skilling\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/\",\"url\":\"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/\",\"name\":\"Logistic Regression in Machine learning - Entri Blog\",\"isPartOf\":{\"@id\":\"https:\/\/entri.app\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2023\/04\/Logistic-regression-in-machine-learning.png\",\"datePublished\":\"2023-04-17T07:01:31+00:00\",\"dateModified\":\"2023-05-22T06:32:19+00:00\",\"description\":\"Logistic regression in machine learning is one of the top and simplest machine learning modeling algorithms. Know logical regression in depth\",\"breadcrumb\":{\"@id\":\"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#primaryimage\",\"url\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2023\/04\/Logistic-regression-in-machine-learning.png\",\"contentUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2023\/04\/Logistic-regression-in-machine-learning.png\",\"width\":820,\"height\":615,\"caption\":\"Logistic regression in machine learning\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/entri.app\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Entri Skilling\",\"item\":\"https:\/\/entri.app\/blog\/category\/entri-skilling\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Data Science and Machine Learning\",\"item\":\"https:\/\/entri.app\/blog\/category\/entri-skilling\/data-science-ml\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Logistic Regression in Machine learning\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/entri.app\/blog\/#website\",\"url\":\"https:\/\/entri.app\/blog\/\",\"name\":\"Entri Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/entri.app\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/entri.app\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/entri.app\/blog\/#organization\",\"name\":\"Entri App\",\"url\":\"https:\/\/entri.app\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png\",\"contentUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png\",\"width\":989,\"height\":446,\"caption\":\"Entri App\"},\"image\":{\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/entri.me\/\",\"https:\/\/x.com\/entri_app\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/person\/1b415089342c8fc9f0590bb666c212e6\",\"name\":\"Vishnu K V\",\"description\":\"Professional Data Scientist who is passionate about writing relevant and interesting articles to inspire young data science aspirants and a continuous learner of the data science field.\",\"url\":\"https:\/\/entri.app\/blog\/author\/vishnu\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Logistic Regression in Machine learning - Entri Blog","description":"Logistic regression in machine learning is one of the top and simplest machine learning modeling algorithms. Know logical regression in depth","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/","og_locale":"en_US","og_type":"article","og_title":"Logistic Regression in Machine learning - Entri Blog","og_description":"Logistic regression in machine learning is one of the top and simplest machine learning modeling algorithms. Know logical regression in depth","og_url":"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/","og_site_name":"Entri Blog","article_publisher":"https:\/\/www.facebook.com\/entri.me\/","article_published_time":"2023-04-17T07:01:31+00:00","article_modified_time":"2023-05-22T06:32:19+00:00","og_image":[{"width":820,"height":615,"url":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2023\/04\/Logistic-regression-in-machine-learning.png","type":"image\/png"}],"author":"Vishnu K V","twitter_card":"summary_large_image","twitter_creator":"@entri_app","twitter_site":"@entri_app","twitter_misc":{"Written by":"Vishnu K V","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#article","isPartOf":{"@id":"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/"},"author":{"name":"Vishnu K V","@id":"https:\/\/entri.app\/blog\/#\/schema\/person\/1b415089342c8fc9f0590bb666c212e6"},"headline":"Logistic Regression in Machine learning","datePublished":"2023-04-17T07:01:31+00:00","dateModified":"2023-05-22T06:32:19+00:00","mainEntityOfPage":{"@id":"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/"},"wordCount":868,"commentCount":0,"publisher":{"@id":"https:\/\/entri.app\/blog\/#organization"},"image":{"@id":"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#primaryimage"},"thumbnailUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2023\/04\/Logistic-regression-in-machine-learning.png","articleSection":["Articles","Data Science and Machine Learning","Entri Skilling"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/","url":"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/","name":"Logistic Regression in Machine learning - Entri Blog","isPartOf":{"@id":"https:\/\/entri.app\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#primaryimage"},"image":{"@id":"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#primaryimage"},"thumbnailUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2023\/04\/Logistic-regression-in-machine-learning.png","datePublished":"2023-04-17T07:01:31+00:00","dateModified":"2023-05-22T06:32:19+00:00","description":"Logistic regression in machine learning is one of the top and simplest machine learning modeling algorithms. Know logical regression in depth","breadcrumb":{"@id":"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#primaryimage","url":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2023\/04\/Logistic-regression-in-machine-learning.png","contentUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2023\/04\/Logistic-regression-in-machine-learning.png","width":820,"height":615,"caption":"Logistic regression in machine learning"},{"@type":"BreadcrumbList","@id":"https:\/\/entri.app\/blog\/logistic-regression-in-machine-learning\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/entri.app\/blog\/"},{"@type":"ListItem","position":2,"name":"Entri Skilling","item":"https:\/\/entri.app\/blog\/category\/entri-skilling\/"},{"@type":"ListItem","position":3,"name":"Data Science and Machine Learning","item":"https:\/\/entri.app\/blog\/category\/entri-skilling\/data-science-ml\/"},{"@type":"ListItem","position":4,"name":"Logistic Regression in Machine learning"}]},{"@type":"WebSite","@id":"https:\/\/entri.app\/blog\/#website","url":"https:\/\/entri.app\/blog\/","name":"Entri Blog","description":"","publisher":{"@id":"https:\/\/entri.app\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/entri.app\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/entri.app\/blog\/#organization","name":"Entri App","url":"https:\/\/entri.app\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png","contentUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png","width":989,"height":446,"caption":"Entri App"},"image":{"@id":"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/entri.me\/","https:\/\/x.com\/entri_app"]},{"@type":"Person","@id":"https:\/\/entri.app\/blog\/#\/schema\/person\/1b415089342c8fc9f0590bb666c212e6","name":"Vishnu K V","description":"Professional Data Scientist who is passionate about writing relevant and interesting articles to inspire young data science aspirants and a continuous learner of the data science field.","url":"https:\/\/entri.app\/blog\/author\/vishnu\/"}]}},"_links":{"self":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts\/25558839","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/users\/119"}],"replies":[{"embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/comments?post=25558839"}],"version-history":[{"count":5,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts\/25558839\/revisions"}],"predecessor-version":[{"id":25560474,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts\/25558839\/revisions\/25560474"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/media\/25558845"}],"wp:attachment":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/media?parent=25558839"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/categories?post=25558839"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/tags?post=25558839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}