<?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 Aneesah Sabar on Medium]]></title>
        <description><![CDATA[Stories by Aneesah Sabar on Medium]]></description>
        <link>https://medium.com/@aneesha13sabar?source=rss-992313c1509a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*7_mm04oWyndhZi-v</url>
            <title>Stories by Aneesah Sabar on Medium</title>
            <link>https://medium.com/@aneesha13sabar?source=rss-992313c1509a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 04:34:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aneesha13sabar/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[AI Solutions to AI: Solving AI’s Own Challenges]]></title>
            <link>https://medium.com/@aneesha13sabar/ai-solutions-to-ai-solving-ais-own-challenges-fde1aba0c44d?source=rss-992313c1509a------2</link>
            <guid isPermaLink="false">https://medium.com/p/fde1aba0c44d</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[evolution]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Aneesah Sabar]]></dc:creator>
            <pubDate>Mon, 13 Jan 2025 08:31:23 GMT</pubDate>
            <atom:updated>2025-01-13T08:32:39.900Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gAWkSLv82gCB45G3R5Upbw.jpeg" /></figure><p>Recently, I came across the thought: <em>‘How can doctors cure their own diseases?’ </em>This made me think about how AI solves its own limitations.</p><p>Developments in AI are constantly evolving, providing innovative solutions to problems. AI solutions are now being adopted across diverse sectors, including businesses, hospitals, banks, and even schools. But with AI providing solutions to us, how does AI provide solutions to its own challenges?</p><p>One thing we need to know is that a new development in AI is a solution to a previous limitation in AI. Not convinced yet? Well here are some examples for you.</p><p>Let’s start off with the most familiar type of AI-Machine Learning. Machine learning, as defined by Arthur Samuel, is a field of Artificial Intelligence that enables computers to learn without explicit programming. In Machine Learning, we work with datasets, therefore we ensure that the data is preprocessed accordingly to avoid any errors made during prediction. However, the problem arises when the dataset is too large to perform feature engineering effectively. ML struggles to preprocess large datasets effectively, as manual feature engineering is labor-intensive and prone to bias. As a solution, Artificial Neural Networks was introduced.</p><p>Artificial Neural Networks (ANNs), inspired by the neurons in the human brain, marked a significant breakthrough in machine learning. Unlike traditional machine learning models, ANNs automate feature engineering through feature extraction, minimizing human bias and improving scalability. For instance, ANNs have revolutionized image recognition tasks by identifying patterns in visual data without explicit programming.</p><p>However, ANNs are not without limitations. They struggle with processing large input dimensions and sequential data. To address these, Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs) were developed. CNNs handle large inputs by focusing on the most relevant features, enabling breakthroughs in areas like medical imaging by detecting tumors and autonomous vehicles for identifying road signs. RNNs, on the other hand, excel in sequential data analysis, making advancements in image captioning, language translation and speech recognition in tools like Google Translate and virtual assistants like Alexa.</p><p>One of the significant limitations of RNNs is the vanishing gradient problem. As the sequence of data becomes longer, it becomes increasingly challenging for RNNs to retain information from earlier timestamps, leading to difficulties in retrieving older but important data. To address this issue, Long Short-Term Memory networks (LSTMs) were introduced. LSTMs are designed to manage long-term dependencies effectively by selectively remembering important events from the distant past while simultaneously focusing on the most relevant data for the task at hand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lr1dMfjVXhhe99AGt4bUzQ.png" /><figcaption>Cycle of how AI solves challenges using AI</figcaption></figure><p>While AI has tackled many of its own technical challenges, the next frontier lies in addressing broader societal and ethical concerns. The above examples demonstrate how AI continuously evolves by addressing its own limitations, paving the way for innovation and progress. As AI confronts challenges like ethical concerns, energy consumption, and AI governance, AI researchers are exploring groundbreaking solutions such as reinforcement learning for ethical decision-making, quantum computing for energy efficiency, and human-centered AI for Singularity.</p><p>This symbiotic relationship between AI’s challenges and its solutions showcases a cycle of continuous improvement, echoing the resilience of human ingenuity. Much like doctors discovering cures for their own diseases, AI evolves through self-innovation. Will AI one day overcome not only its own limitations but also solve humanity’s greatest challenges? As AI continues to evolve, one thing is certain — its potential to transform our world is boundless.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fde1aba0c44d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tower of Hanoi — A Prolog Solution]]></title>
            <link>https://medium.com/@aneesha13sabar/tower-of-hanoi-a-prolog-solution-bf0d488cbafe?source=rss-992313c1509a------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf0d488cbafe</guid>
            <category><![CDATA[symbolic-ai]]></category>
            <category><![CDATA[tower-of-hanoi]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[prolog]]></category>
            <dc:creator><![CDATA[Aneesah Sabar]]></dc:creator>
            <pubDate>Wed, 25 Sep 2024 08:20:03 GMT</pubDate>
            <atom:updated>2024-09-25T08:20:03.915Z</atom:updated>
            <content:encoded><![CDATA[<h3>Tower of Hanoi — A Prolog Solution</h3><p>Tower of Hanoi is a classic mathematical problem that involves using an algorithm to solve the problem. In this article let’s see how we can solve the Tower of Hanoi problem using Prolog.</p><p><strong>What is the Tower of Hanoi problem?</strong></p><p>So, you might be wondering what the Tower of Hanoi is. And yes it’s a tower but not actually situated in Hanoi. This is associated with the legend of a Hindu Temple where the puzzle was supposed to improve the mental capacity of the priests. Young priests were given the task of moving 64 gold disks from one pole to another pole.</p><p>The Tower of Hanoi has <strong>three rods </strong>(let’s take it as A, B, and C) and <strong>N number of disks</strong> stacked in the increasing disk size from top to bottom(smallest at the top and largest at the bottom).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YHw4Tqw0Lq9hn5dhrD1CJA.png" /></figure><p>The objective of this puzzle is to move the entire stack of disks from the current rod to another rod.</p><p>The trick here is that there are some rules that you should follow.</p><ol><li>Only one disk can be moved at a time</li><li>Only the disk at the topmost of the stack can be moved</li><li>Cannot place a larger disk on top of a small disk</li></ol><p><strong>Solution Approach — using Recursion</strong></p><p>We will be using recursion to solve the puzzle. In this article, we will consider that the Tower of Hanoi has 3 disks and 3 rods. Before we implement the Prolog program, let’s define the predicate <strong>tower_of_hanoi/4</strong> that takes the number of disks and the names of the source, auxiliary, and destination rods as arguments.</p><pre>tower_of_hanoi(N,Source, Destination, Auxiliary)</pre><ul><li>Source: Start rod of the disk</li><li>Destination: rod where you want to move all your disks to</li><li>Auxiliary: helper rod to temporarily hold disks</li></ul><p><strong>Prolog Code Solution</strong></p><p>In this problem there is only one primary action where you take the top disk from one rod (source) and place it on another rod (destination)- Move Disk. But in this solution, we will not be creating separate predicates to maintain the simplicity of the solution and the straightforwardness of the solution.</p><p><strong>Base case : </strong>If there is only one disk, we can directly move it from the source to the destination.</p><pre>tower_of_hanoi(1, Source, Destination, _) :- format(&#39;Move disk from ~w to ~w~n&#39;, [Source, Destination]).</pre><p><strong>Recursive Cases</strong></p><ol><li>Move the top N−1 disks from the source rod to the auxiliary rod.</li><li>Move the Nth disk (the largest disk) directly from the source rod to the destination rod.</li><li>Finally, move the N−1 disks from the auxiliary rod to the destination rod.</li></ol><pre>tower_of_hanoi(N, Source, Destination, Auxiliary) :- <br>  N &gt; 1, % Move N-1 disks from Source to Auxiliary <br>  N1 is N - 1, <br>  tower_of_hanoi(N1, Source, Auxiliary, Destination), <br>  format(&#39;Move disk from ~w to ~w~n&#39;, [Source, Destination]), <br>  tower_of_hanoi(N1, Auxiliary, Destination, Source).</pre><p><strong>An Example</strong></p><p>Let’s try to move the disks from source rod A to destination rod C.</p><pre>?- tower_of_hanoi(3, &#39;A&#39;, &#39;C&#39;, &#39;B&#39;).</pre><p>This will output the steps required to take all the disks from Source Rod ‘A’ to Destination Rod ‘C’ while using Rod ‘B’ as the auxiliary.</p><pre>Move disk from A to C<br>Move disk from A to B<br>Move disk from C to B<br>Move disk from A to C<br>Move disk from B to A<br>Move disk from B to C<br>Move disk from A to C</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NRqi9FCIBzM5bQhDiKltYA.gif" /><figcaption>Recursive steps of the solution</figcaption></figure><p>Tower of Hanoi is a fascinating algorithmic puzzle used in AI as a classic example of solving problems using recursion and representing a state space. Additionally, it allows programmers to explore optimal solution paths, analyze the efficiency of algorithms, involve in symbolic reasoning, such as expert systems or theorem proving, providing a foundational understanding of many concepts in AI.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf0d488cbafe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Beginners’ Guide to Moodle and the Moodle API]]></title>
            <link>https://medium.com/@aneesha13sabar/a-beginners-guide-to-moodle-and-the-moodle-api-27cb852db5af?source=rss-992313c1509a------2</link>
            <guid isPermaLink="false">https://medium.com/p/27cb852db5af</guid>
            <dc:creator><![CDATA[Aneesah Sabar]]></dc:creator>
            <pubDate>Mon, 15 Jul 2024 09:06:52 GMT</pubDate>
            <atom:updated>2025-01-13T08:33:57.096Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XVLEhtEa-EfjpPzM" /><figcaption>Photo by <a href="https://unsplash.com/@elmeng?utm_source=medium&amp;utm_medium=referral">Dai KE</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>As an undergraduate student, Moodle is an essential tool to access course modules and connect with your university. In this article let’s dive into how you can create your own Moodle on your local computer.</p><p>Moodle, an acronym for Modular Object-Oriented Dynamic Learning Environment, is a widely-used learning management system (LMS) that facilitates the creation of online courses, enabling educators to provide a rich, interactive learning experience. It supports a range of activities and resources, such as quizzes, forums, and assignments, and is used by universities and educational institutions worldwide.</p><p>For university students, Moodle is an essential tool that enhances learning by providing:</p><ul><li>Centralized Resources: All course materials, including lecture notes, assignments, and readings, are available in one place.</li><li>Interactive Learning: Features like quizzes, forums, and assignments promote active learning and student engagement.</li><li>Accessibility: Students can access materials anytime, anywhere, facilitating flexible learning schedules.</li><li>Collaboration: Moodle supports group activities and communication, fostering a collaborative learning environment.</li></ul><p>Let’s learn more about the Moodle API and how we can integrate it with websites or use it to create your very own project. The Moodle API allows developers to interact programmatically with a Moodle instance, enabling the creation of custom applications and integrations. By using the Moodle API, you can enhance your website with Moodle’s powerful features. For example, you can access course content, manage user accounts, and track student progress directly from your website.</p><p>You can reap the benefits of Using the Moodle API such as Automation, Customization, Enhanced User Experience, etc. With that here are some ideas to incorporate Moodle API into your project.</p><ul><li>Automation: Automate tasks like user enrollment, grade management, and course updates.</li><li>Customization: Build tailored solutions that meet specific needs of your educational platform.</li><li>Enhanced User Experience: Provide seamless access to Moodle resources from your custom website or application.</li></ul><p>Here is a step-by-step process to setting up Moodle on a local server using XAMPP.</p><p>Step 1: Install XAMPP</p><p>1. Download and install XAMPP from the official website: <a href="https://www.apachefriends.org/index.html.">https://www.apachefriends.org/index.html.</a></p><p>2. Run the XAMPP installer and follow the instructions to install XAMPP on your computer.</p><p>3. Start the Apache and MySQL services from the XAMPP Control Panel.</p><p>Step 2: Download Moodle</p><p>1. Visit the Moodle download page: <a href="https://download.moodle.org/">https://download.moodle.org/.</a></p><p>2. Download the latest stable version of Moodle.</p><p>Step 3: Set Up Moodle</p><p>1. Extract the Moodle zip file to the htdocs directory within your XAMPP installation directory (e.g.: C:\xampp\htdocs\moodle).</p><p>2. Open your web browser and navigate to <a href="http://localhost/moodle.">http://localhost/moodle.</a></p><p>3. Follow the on-screen instructions to set up Moodle. You’ll need to provide database details ( you can create a new database via phpMyAdmin, which is accessible at <a href="http://localhost/phpmyadmin).">http://localhost/phpmyadmin).</a></p><p>Step 4: Configure Moodle</p><p>1. Complete the installation steps, providing necessary details like the database name, username, and password.</p><p>2. After installation, you can log in to Moodle using the admin credentials you set up during installation.</p><p>Step 5: Integrate Moodle API with Your Website</p><p>To use the Moodle API for integration with your website, follow these steps:</p><p>1. Enable web services in Moodle:</p><ul><li>Log in to your Moodle site as an admin.</li><li>Navigate to Site administration &gt; Advanced features and enable Web services.</li></ul><p>2. Create a web service token:</p><ul><li>Go to Site administration &gt; Server &gt; Web services &gt; Manage tokens.</li><li>Add a new token for your user.</li></ul><p>3. Use the token to access Moodle web services:</p><ul><li>Make API requests to Moodle using the token to perform actions like retrieving course information, user data, etc.</li></ul><p>Check out these useful resources, to get started with Moodle.</p><p><strong>YouTube Tutorials</strong></p><ul><li>How to Install Moodle on XAMPP Hosting Server — <a href="https://youtu.be/_S_GNTfMztw?si=s7tGzoqsFlIVe3VP">✅ How to Install Moodle on Windows 11/10 PC Using XAMPP</a></li><li>Moodle API Integration — <a href="https://youtu.be/Ud139zt2s8c?si=164Qz2GsDALcv77b">Moodle Web Services: A Step-by-Step Guide to Integration and Usage | Moodle Web Service | Moodle API</a></li></ul><p><strong>Official Documentation</strong></p><ul><li>Moodle Documentation — <a href="https://docs.moodle.org/">https://docs.moodle.org</a></li><li>Moodle API Documentation — <a href="https://docs.moodle.org/dev/Web_service_API_functions">https://docs.moodle.org/dev/Web_service_API_functions</a></li></ul><p>Moodle, with its extensive features and flexibility, is an invaluable tool for university students. By leveraging the Moodle API, developers can create powerful, custom integrations that enhance the user experience and streamline educational processes. Setting up Moodle on a local server using XAMPP is a great way to start exploring its capabilities and understanding how it can be integrated with your own applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27cb852db5af" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>