<?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 Janani Kesavan on Medium]]></title>
        <description><![CDATA[Stories by Janani Kesavan on Medium]]></description>
        <link>https://medium.com/@jananikesavan2?source=rss-c55d5cf9bd83------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zBy-1uL8SxMH715ynKL7ZQ.jpeg</url>
            <title>Stories by Janani Kesavan on Medium</title>
            <link>https://medium.com/@jananikesavan2?source=rss-c55d5cf9bd83------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 07:52:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jananikesavan2/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[HEAP TREE]]></title>
            <link>https://medium.com/@jananikesavan2/heap-tree-3a5c1bdfab08?source=rss-c55d5cf9bd83------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a5c1bdfab08</guid>
            <dc:creator><![CDATA[Janani Kesavan]]></dc:creator>
            <pubDate>Sat, 15 Jul 2023 14:10:10 GMT</pubDate>
            <atom:updated>2023-07-15T14:10:10.220Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is heap tree?</h3><p>A Heap is a special Tree-based data structure in which the tree is a complete binary tree.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/1*2TZuvGOvn4Y10uVykw657A.jpeg" /></figure><h3>Operations of Heap Data Structure:</h3><p>Heapify: a process of creating a heap from an array.<br>Insertion: process to insert an element in existing heap time complexity O(log N).<br>Deletion: deleting the top element of the heap or the highest priority element, and then organizing the heap and returning the element with time complexity O(log N).<br>Peek: to check or find the first (or can say the top) element of the heap.</p><h3>We all know that heap tree is a complete binary tree but we don’t know what is complete binary tree 🤔 let’s see what is that…</h3><h3>What is a complete binary tree?</h3><p>A complete binary tree is a <a href="https://www.javatpoint.com/binary-tree">binary tree</a> in which all the levels except the last level, i.e., leaf node should be completely filled, and all the nodes should be left-justified.</p><h3>Application of heap tree :</h3><ul><li>Djikstra’s Algorithm, which is used to find the shortest path between two nodes in a graph.</li><li>Heap Sort algorithm.<br>Implementing priority queues.</li><li>Finding the smallest or largest element in an array, (a min-heap tree and max-heap tree would be used, respectively).</li></ul><p>Max heap tree:</p><p>Always greater than its child node/s and the key of the root node is the largest among all other nodes. This property is also called max heap property.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/1*W4ua394cD5cJ0h6cSiD3HA.jpeg" /></figure><p>Min heap tree:<br>Always smaller than the child node/s and the key of the root node is the smallest among all other nodes. This property is also called min heap property.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/1*Y5wgCN863ojIvaWmBPrpvg.jpeg" /></figure><p>This type of data structure is also called a binary heap.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a5c1bdfab08" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[File Handling in Python]]></title>
            <link>https://medium.com/@jananikesavan2/file-handling-in-python-1fe670b92eae?source=rss-c55d5cf9bd83------2</link>
            <guid isPermaLink="false">https://medium.com/p/1fe670b92eae</guid>
            <dc:creator><![CDATA[Janani Kesavan]]></dc:creator>
            <pubDate>Fri, 03 Mar 2023 14:18:36 GMT</pubDate>
            <atom:updated>2023-03-03T14:18:36.820Z</atom:updated>
            <content:encoded><![CDATA[<p>Python too supports file handling and allows users to handle files i.e., to read and write files, along with many other file handling options, to operate on files. The concept of file handling has stretched over various other languages, but the implementation is either complicated or lengthy, but like other concepts of Python, this concept here is also easy and short. Python treats files differently as text or binary and this is important. Each line of code includes a sequence of characters and they form a text file. Each line of a file is terminated with a special character, called the EOL or End of Line characters like comma {,} or newline character. It ends the current line and tells the interpreter a new one has begun. Let’s start with the reading and writing files.</p><h3>Working of open() function</h3><p>Before performing any operation on the file like reading or writing, first, we have to open that file. For this, we should use Python’s inbuilt function open() but at the time of opening, we have to specify the mode, which represents the purpose of the opening file.</p><p>f = open(filename, mode)</p><h3>Where the following mode is supported:</h3><p>r: open an existing file for a read operation.</p><p>w: open an existing file for a write operation. If the file already contains some data then it will be overridden but if the file is not present then it creates the file as well.</p><p>a: open an existing file for append operation. It won’t override existing data.</p><p>r+: To read and write data into the file. The previous data in the file will be overridden.</p><p>w+: To write and read data. It will override existing data.</p><p>a+: To append and read data from the file. It won’t override existing dat</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1fe670b92eae" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[To get in-depth knowledge of Artificial Intelligence and Machine Learning, you can enroll for live…]]></title>
            <link>https://medium.com/@jananikesavan2/to-get-in-depth-knowledge-of-artificial-intelligence-and-machine-learning-you-can-enroll-for-live-8202fe8a8e94?source=rss-c55d5cf9bd83------2</link>
            <guid isPermaLink="false">https://medium.com/p/8202fe8a8e94</guid>
            <category><![CDATA[aiwithpython]]></category>
            <dc:creator><![CDATA[Janani Kesavan]]></dc:creator>
            <pubDate>Sun, 01 Jan 2023 05:44:40 GMT</pubDate>
            <atom:updated>2023-01-01T05:44:40.835Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Artificial Intelligence has been around for over half a century now and its advancements are growing at an exponential rate. The demand for AI is at its peak and if you wish to learn about Artificial Intelligence, you’ve landed at the right place. This blog on Artificial Intelligence With Python will help you understand all the concepts of AI with practical implementations in Python.</blockquote><h3>To get in-depth knowledge of Artificial Intelligence and Machine Learning, you can enroll for live <a href="https://www.edureka.co/masters-program/machine-learning-engineer-training">Machine Learning Engineer Master Program</a> by Edureka with 24/7 support and lifetime access.</h3><p>The following topics are covered in this Artificial Intelligence With Python blog:</p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#Why%20Is%20Python%20Best%20For%20AI">Why Is Python Best For AI?</a></p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#Demand%20For%20AI">Demand For AI</a></p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#What%20Is%20Artificial%20Intelligence">What Is Artificial Intelligence?</a></p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#Types%20Of%20Artificial%20Intelligence">Types Of Artificial Intelligence</a></p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#Machine%20Learning%20Basics">Machine Learning Basics</a></p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#Types%20Of%20Machine%20Learning">Types Of Machine Learning</a></p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#Types%20Of%20Problems%20Solved%20By%20Using%20Machine%20Learning">Types Of Problems Solved By Using Machine Learning</a></p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#Machine%20Learning%20Process">Machine Learning Process</a></p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#Machine%20Learning%20With%20Python">Machine Learning With Python</a></p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#Limitations%20Of%20Machine%20Learning">Limitations Of Machine Learning</a></p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#Why%20Deep%20Learning">Why Deep Learning?</a></p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#How%20Deep%20Learning%20Works">How Deep Learning Works?</a></p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#What%20Is%20Deep%20Learning">What Is Deep Learning?</a></p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#Deep%20Learning%20Use%20Case">Deep Learning Use Case</a></p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#Perceptrons">Perceptrons</a></p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#Multilayer%20Perceptrons">Multilayer Perceptrons</a></p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#Deep%20Learning%20With%20Python">Deep Learning With Python</a></p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#Introduction%20To%20Natural%20Language%20Processing">Introduction To Natural Language Processing (NLP)</a></p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#NLP%20Applications">NLP Applications</a></p><p><a href="https://www-edureka-co.cdn.ampproject.org/v/s/www.edureka.co/blog/artificial-intelligence-with-python/amp/?amp_gsa=1&amp;amp_js_v=a9&amp;usqp=mq331AQKKAFQArABIIACAw%3D%3D#Terminologies%20In%20NLP">Terminologies In NLP</a></p><blockquote>Why Is Python Best For AI?</blockquote><blockquote>A lot of people have asked me, ‘Which programming language is best for AI?’ or “Why Python for AI?”</blockquote><h3>Despite being a general purpose language, Python has made its way into the most complex technologies such as Artificial Intelligence, Machine Learning, Deep Learning, and so on.</h3><blockquote>Why has Python gained so much popularity in all these fields?</blockquote><h3>Here is a list of reasons why Python is the choice of language for every core Developer, Data Scientist, Machine Learning Engineer, etc:</h3><h4>Why Python For AI – Artificial Intelligence With Python – Edureka</h4><h3>Less Code: Implementing AI involves tons and tons of algorithms. Thanks to Pythons support for pre-defined packages, we don’t have to code algorithms. And to make things easier, Python provides “check as you code” methodology that reduces the burden of testing the code.</h3><h3>Prebuilt Libraries: Python has 100s of pre-built libraries to implement various Machine Learning and Deep Learning algorithms. So every time you want to run an algorithm on a data set, all you have to do is install and load the necessary packages with a single command. Examples of pre-built libraries include NumPy, Keras, Tensorflow, Pytorch, and so on.</h3><h3>Ease of learning: Python uses a very simple syntax that can be used to implement simple computations like, the addition of two strings to complex processes such as building a Machine Learning model.</h3><h3>Platform Independent: Python can run on multiple platforms including Windows, MacOS, Linux, Unix, and so on. While transferring code from one platform to the other you can make use of packages such as PyInstaller that will take care of any dependency issues.</h3><h3>Massive Community Support: Python has a huge community of users which is always helpful when we encounter coding errors. Apart from a huge fan following, Python has multiple communities, groups, and forums where programmers post their errors and help each other.</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8202fe8a8e94" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Difference Between Data Science and Artificial Intelligence]]></title>
            <link>https://medium.com/@jananikesavan2/difference-between-data-science-and-artificial-intelligence-717c86bb63f3?source=rss-c55d5cf9bd83------2</link>
            <guid isPermaLink="false">https://medium.com/p/717c86bb63f3</guid>
            <dc:creator><![CDATA[Janani Kesavan]]></dc:creator>
            <pubDate>Sun, 18 Dec 2022 10:47:16 GMT</pubDate>
            <atom:updated>2022-12-18T10:47:16.295Z</atom:updated>
            <content:encoded><![CDATA[<p>Difference Between Data Science and Artificial Intelligence</p><p>Data Science: In 1974, Peter Naur proposed data science as an alternative name for computer science. Data Science is a subset of Artificial Intelligence. Simply data science is a collection of data to analyze and we make a decision on behalf of it. It uses scientific methods, processes, algorithms, and insights from many structural and unstructured data. the person who works in data science is known as data scientist.</p><p>Artificial Intelligence: At a conference at Dartmouth College, Hanover, New Hampshire, where the term Artificial intelligence was coined (1956). It’s a human-like intelligence provided to the machines where machines act and think as humanly. They solve problems faster than human beings. Speech recognition, translation tools, etc. are the building areas of AI. AI is all about machine learning deep learning etc. We can emulate cognition and human understanding to a certain level</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=717c86bb63f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Computational thinking allows us to take a complex problem, understand what the problem is and…]]></title>
            <link>https://medium.com/@jananikesavan2/computational-thinking-allows-us-to-take-a-complex-problem-understand-what-the-problem-is-and-a8a4aa8bd09a?source=rss-c55d5cf9bd83------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8a4aa8bd09a</guid>
            <category><![CDATA[computational-thinking]]></category>
            <dc:creator><![CDATA[Janani Kesavan]]></dc:creator>
            <pubDate>Wed, 07 Dec 2022 14:50:44 GMT</pubDate>
            <atom:updated>2022-12-07T14:50:44.969Z</atom:updated>
            <content:encoded><![CDATA[<p>Computational thinking <strong>allows us to take a complex problem, understand what the problem is and develop possible solutions</strong>. We can then present these solutions in a way that a computer, a human, or both, can understand.This broad problem-solving technique includes four elements: <strong>decomposition, pattern recognition, abstraction and algorithms</strong>. There are a variety of ways that students can practice and hone their computational thinking, well before they try computer programming.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8a4aa8bd09a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>