<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sravya Komatireddy on Medium]]></title>
        <description><![CDATA[Stories by Sravya Komatireddy on Medium]]></description>
        <link>https://medium.com/@sravyakomatireddy?source=rss-e8a4c0b27bfb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*8wCQT_ssVirQeWlx</url>
            <title>Stories by Sravya Komatireddy on Medium</title>
            <link>https://medium.com/@sravyakomatireddy?source=rss-e8a4c0b27bfb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 06:21:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sravyakomatireddy/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[When to use avoir vs être ?]]></title>
            <link>https://sravyakomatireddy.medium.com/when-to-use-avoir-vs-%C3%AAtre-4de1be21c84e?source=rss-e8a4c0b27bfb------2</link>
            <guid isPermaLink="false">https://medium.com/p/4de1be21c84e</guid>
            <category><![CDATA[french]]></category>
            <category><![CDATA[french-language-learning]]></category>
            <category><![CDATA[french-grammar-structure]]></category>
            <category><![CDATA[french-language]]></category>
            <dc:creator><![CDATA[Sravya Komatireddy]]></dc:creator>
            <pubDate>Sat, 28 Nov 2026 15:09:55 GMT</pubDate>
            <atom:updated>2026-11-28T15:13:49.180Z</atom:updated>
            <content:encoded><![CDATA[<h3>when to use avoir vs être ?</h3><p>être — when it is followed by adverb or adjective</p><p>avoir — when it is followed by noun (not verb)</p><p>*rules for verbs are different check out passé composé</p><p>for example —</p><p>lets take la faim - means hunger.</p><p>hungry is adjective (the form of having hunger)</p><p>and hunger is noun.</p><p>so if I have to say I’m hungry in french, i would say <strong>j’ai faim</strong> because its a noun. there is no word for hungry — but if there was one we could definitely say</p><p><strong>je suis &lt;hungry&gt;</strong></p><p>Another example —</p><p>I am ready</p><p>prêt — being ready</p><p>it is an adjective so we have to use être</p><p>je suis prêt</p><p><strong>Exceptions</strong> —</p><p>If everything followed a rule then life would be simple and it would be easy to learn french so it doesn’t. like any good concept this also has exceptions like below —</p><p>1. Être + Prepositional Phrases (Moods &amp; States)</p><p>Even though colère (anger) and retard (delay) are nouns, adding en or de turns them into states you are in:<br>• Mon père est en colère. (My dad is angry.)<br>• Désolé, je suis en retard ! (Sorry, I am late!)<br>• Nous sommes en avance pour le film. (We are early for the movie.)<br>• Elle est de mauvaise humeur ce matin. (She is in a bad mood this morning.)</p><p>2. Avoir l’air + Adjective (Looking / Seeming)</p><p>Because air (&quot;appearance&quot;) is the noun attached to avoir, an adjective follows to describe that appearance:<br>• Tu as l&#39;air fatigué aujourd&#39;hui. (You look tired today.)<br>• Ce gâteau a l&#39;air délicieux. (This cake looks delicious.)<br>• Ils ont l&#39;air perdus. (They seem lost.)</p><p>3. Weather (Il fait vs. Avoir vs. Être)</p><p>Notice how &quot;hot&quot; (chaud) uses three different verbs depending on whether you mean the weather, a person, or an object:<br>• Weather (faire): Aujourd&#39;hui, il fait chaud. (Today, it is hot outside.)<br>• Person (avoir): J&#39;ai couru, alors j&#39;ai chaud. (I ran, so I am hot.)<br>• Object (être): Attention, la soupe est chaude. (Careful, the soup is hot.)</p><p>4. We must use être when Identifying People &amp; Things</p><ul><li>Je suis étudiante (I am student )</li><li>Il est médicin (He is doctor)</li><li>Je suis Indienne (I am Indian)</li><li>C’est un bon livre (Its a good book)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4de1be21c84e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Candidate Elimination Algorithm (Concept Learning) — Easy Explanation with an Example]]></title>
            <link>https://sravyakomatireddy.medium.com/candidate-elimination-algorithm-concept-learning-easy-explanation-with-an-example-7cc3b11336d4?source=rss-e8a4c0b27bfb------2</link>
            <guid isPermaLink="false">https://medium.com/p/7cc3b11336d4</guid>
            <category><![CDATA[concept-learning]]></category>
            <category><![CDATA[find-s-algorithm]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[candidate-elimination]]></category>
            <category><![CDATA[basic-machine-learning]]></category>
            <dc:creator><![CDATA[Sravya Komatireddy]]></dc:creator>
            <pubDate>Tue, 08 Jun 2021 05:08:20 GMT</pubDate>
            <atom:updated>2021-06-08T05:14:17.466Z</atom:updated>
            <content:encoded><![CDATA[<h3>Candidate Elimination Algorithm (Concept Learning) — Easy Explanation with an Example</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z1YZC0XMvPKVF4YY28dOTw.jpeg" /></figure><p>The candidate Elimination algorithm finds all hypotheses that match all the given training examples. Unlike in Find-S algorithm and List-then-Eliminate algorithm, it goes through both negative and positive examples, eliminating any inconsistent hypothesis.</p><p>Let us now see some terminology which we will use later.</p><p>? -&gt; accepts all</p><p>Ø -&gt; rejects all</p><p>Consider a hypothesis with 6 constraints</p><p>h1 = &lt;true, ?, false,?,?,?&gt;</p><p>h2 = &lt;true,?,?,?,?,?&gt;</p><p>Here, h2 is more general than h1. i.e., h1 is specific than h2. Since h2 accepts all the examples with true at the first position and h1 will accept only examples with first true and third false. all examples that satisfy h1 will hold true for h2 but not the other way, so h1 is a specific hypothesis for h2.</p><p>generally, the most specific hypothesis would be &lt; Ø, Ø, Ø, Ø, Ø, Ø&gt; and the most general hypothesis would be &lt; ?, ?, ?, ?, ?, ?&gt; since the first one would reject all and second would accept all samples.</p><p><strong>ALGORITHM:</strong></p><p>Step 1: Initialize G to a maximally <strong>general </strong>Hypothesis in H. (G = &lt; ?, ?, ?, ?, ?, ?&gt;)</p><p>Step 2: Initialize S to a maximally <strong>specific</strong> Hypothesis in H. (S = &lt; Ø, Ø, Ø, Ø, Ø, Ø&gt;)</p><p>Step 3: For each training sample ‘d’, do:</p><p>→if d is +ve:</p><ul><li>remove from G any hypothesis inconsistent with d.</li><li>for each hypothesis ‘s’ from S that is not consistent with d:</li></ul><p>— — — Remove s from S</p><p>— — — Add to S all minimal generalizations h of s such that: h is consistent with d, and some member of G is more general than h</p><p>— — — remove from S any hypothesis that is more general than another hypothesis in S.</p><p>→if d is -ve:</p><ul><li>remove from S any hypothesis inconsistent with d.</li><li>for each hypothesis ‘g’ in G inconsistent with d:</li></ul><p>— — — Remove g from G</p><p>— — — Add to G all minimal specializations h of g such that: h is consistent with d, and some member of S is more specific than h</p><p>— — — remove from G any hypothesis that is less general than another hypothesis in G.</p><p>To understand better let us consider an example:</p><p>This example is binary-valued each position value will only hold two values.</p><ol><li>&lt;sunny, warm, normal, strong, warm, same&gt; = yes(+ve)</li><li>&lt;sunny, warm, high, strong, warm, same&gt; = yes(+ve)</li><li>&lt;rainy, cold, high, strong, warm, change&gt; = no(-ve)</li><li>&lt;sunny, warm, high, strong, cool, change&gt; = yes(+ve)</li></ol><p>Initially, <strong>S0=&lt; Ø, Ø, Ø, Ø, Ø, Ø&gt; G0=&lt;?, ?, ?, ?, ?, ?&gt;</strong></p><p>after 1st sample: &lt;sunny, warm, normal, strong, warm, same&gt; = yes(+ve)</p><p><strong>S1 = &lt;sunny, warm, normal, strong, warm, same&gt;</strong> (S0 rejects all. but here we have a hypothesis that accepts a certain example. so change S0)</p><p><strong>G1 = G0</strong> (no inconsistent hypothesis in G0. so it remains the same)</p><p>after 2nd sample: &lt;sunny, warm, high, strong, warm, same&gt; = yes(+ve)</p><p><strong>S2 = &lt;sunny, warm, ?, strong, warm, same&gt; </strong>(the third value is different in the hypothesis and the current sample. so change it to some general value i.e., whatever the third value might be the outcome will be yes. so change it to accept all)</p><p><strong>G2 = G1</strong> (no change)</p><p>after 3rd sample: &lt;rainy, cold, high, strong, warm, change&gt; = no(-ve)</p><p><strong>S3 = S2</strong> (no change. since the sample is negative and no inconsistent data found in S2)</p><p><strong>G3 = &lt;sunny,?,?,?,?,?&gt; &lt;?,warm,?,?,?,?&gt;&lt;?,?,?,?,?,same&gt; &lt;sunny,warm,?,?,?,?&gt; &lt;sunny,?,?,?,?,same&gt; &lt;sunny, warm, ?, strong,?,?&gt; &lt;sunny, ?,?,strong,?,?&gt; &lt;?,warm,?,strong,?,?&gt;</strong> (G3 accepts all so now it accepts the negative sample too that is inconsistent. so now we remove the existing hypothesis and replace it with a more general hypothesis that does not form inconsistency with current sample)</p><p>after 4th sample: &lt;sunny, warm, high, strong, cool, change&gt; = yes(+ve)</p><p><strong>S4 = &lt;sunny, warm, ?, strong,?,?&gt; </strong>(replace 5th n 6th values with acceptAll since it does not matter what value is there in those positions)</p><p><strong>G4 = &lt;sunny,?,?,?,?,?&gt; &lt;?,warm,?,?,?,?&gt; &lt;sunny,warm,?,?,?,?&gt; &lt;sunny,?,?,strong,?,?&gt; &lt;?,warm,?,strong,?,?&gt; </strong>(since the value has changed for 6th position we remove the hypothesis which contain ‘same’ at 6th position AND the hypothesis &lt;sunny, warm, ?, strong,?,?&gt; is same as S4 so we remove this hypothesis too)</p><p>Final, acceptable hypothesis are the union of both S4 and G4 hypotheses.</p><p>Now, let&#39;s find out the output for the given samples based on above hypotheses:</p><p>A. &lt;sunny, warm, normal, strong, cool, change&gt;</p><p>B. &lt;Rainy, cold, normal, light, warm, same&gt;</p><p>C. &lt;sunny, warm, normal, light, warm, same&gt;</p><p>D. &lt;sunny, cold, normal, strong, warm, same&gt;</p><p>A. YES (positive instance)</p><p>B. NO (negative instance)</p><p>C. cannot decide. since 3 hypotheses hold true and 3 hypotheses do not. we need more samples to say whether it is a positive or negative instance.</p><p>D. more leaning towards negative but still cannot say since 4 say negative and 2 say otherwise.</p><p>Thank you, Happy learning!</p><p>References: Tom M. Mitchell, <em>Machine Learning, </em>Mc Graw Hill, 1997</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7cc3b11336d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>