<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: meenu tomar</title>
    <description>The latest articles on DEV Community by meenu tomar (@meenu_tomar_80d5090d90047).</description>
    <link>https://dev.to/meenu_tomar_80d5090d90047</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3343068%2Ff60049df-858f-44de-a06c-b6ddc1951f4a.png</url>
      <title>DEV Community: meenu tomar</title>
      <link>https://dev.to/meenu_tomar_80d5090d90047</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/meenu_tomar_80d5090d90047"/>
    <language>en</language>
    <item>
      <title>☔ Linear vs Logistic Regression — The Umbrella Story</title>
      <dc:creator>meenu tomar</dc:creator>
      <pubDate>Thu, 10 Jul 2025 17:11:31 +0000</pubDate>
      <link>https://dev.to/meenu_tomar_80d5090d90047/linear-vs-logistic-regression-the-umbrella-story-4ccn</link>
      <guid>https://dev.to/meenu_tomar_80d5090d90047/linear-vs-logistic-regression-the-umbrella-story-4ccn</guid>
      <description>&lt;p&gt;You’ve probably heard of Linear Regression and Logistic Regression if you’re diving into machine learning.&lt;/p&gt;

&lt;p&gt;But let me break it down in a way that makes sense — even if you’re sipping chai on a cloudy day, wondering,&lt;br&gt;
“Should I carry an umbrella or not?” 😅&lt;br&gt;
🌦️ Linear Regression: Predicting How Much It Will Rain&lt;/p&gt;

&lt;p&gt;Imagine you’re someone who checks the weather every morning before going to college or work.&lt;/p&gt;

&lt;p&gt;One day you ask:&lt;/p&gt;

&lt;p&gt;“If the sky is 60% cloudy and humidity is high, how many mm will it rain today?”&lt;/p&gt;

&lt;p&gt;That’s a number prediction.&lt;/p&gt;

&lt;p&gt;This is where Linear Regression comes in.&lt;br&gt;
It takes continuous data like cloud %, humidity, temperature — and tries to predict how much rain will fall.&lt;/p&gt;

&lt;p&gt;👉 It gives you: A number as output.&lt;/p&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;p&gt;Predicting temperature tomorrow&lt;/p&gt;

&lt;p&gt;Predicting how much sales will increase&lt;/p&gt;

&lt;p&gt;Predicting calories burned during exercise&lt;/p&gt;

&lt;p&gt;☂️ Logistic Regression: Deciding Whether to Carry an Umbrella&lt;/p&gt;

&lt;p&gt;Now imagine this:&lt;/p&gt;

&lt;p&gt;You don’t care how many mm it will rain.&lt;br&gt;
You just want to know:&lt;/p&gt;

&lt;p&gt;“Should I carry an umbrella today or not?” → Yes or No?&lt;/p&gt;

&lt;p&gt;That’s where Logistic Regression steps in.&lt;br&gt;
It takes similar data — cloud %, humidity, wind — and instead of predicting a number, it tells you:&lt;/p&gt;

&lt;p&gt;1 = Yes, carry your umbrella&lt;br&gt;
0 = No, chill, you're safe today&lt;br&gt;
👉 It gives you: Categories or decisions (0 or 1)&lt;/p&gt;

&lt;p&gt;Examples:&lt;/p&gt;

&lt;p&gt;Will the email be spam or not?&lt;br&gt;
Will a person buy this product or not?&lt;br&gt;
Will the patient have a disease or not?&lt;br&gt;
👀 Key Differences (Quick Glance)&lt;/p&gt;

&lt;p&gt;Feature Linear Regression 🌧️ Logistic Regression ☂️ Predicts&lt;/p&gt;

&lt;p&gt;How much rain will fall (mm) Will it rain or not? Output Type Continuous number Yes or No (0 or 1) Use Case Quantity prediction Decision-making Example Predicting marks, sales Predicting pass/fail, hire/no hire&lt;/p&gt;

&lt;p&gt;💭 Final Thought&lt;/p&gt;

&lt;p&gt;So next time you’re stuck choosing between two ML models, just ask yourself:&lt;/p&gt;

&lt;p&gt;Do I want a value? → Use Linear Regression&lt;br&gt;
Do I want a decision? → Use Logistic Regression&lt;br&gt;
That’s it. No scary math. Just umbrellas and logic. ☂️🤯&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;br&gt;
Follow me for more machine learning explained in a chai-and-chill style🍵✨&lt;/p&gt;

</description>
      <category>ai</category>
      <category>python</category>
      <category>machinelearning</category>
      <category>datascience</category>
    </item>
  </channel>
</rss>
