<?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 Chaitanyasirivuri on Medium]]></title>
        <description><![CDATA[Stories by Chaitanyasirivuri on Medium]]></description>
        <link>https://medium.com/@chaitanyasirivuri?source=rss-a273367602d8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kwVNoM-2XTcTQrgYWym1xA.jpeg</url>
            <title>Stories by Chaitanyasirivuri on Medium</title>
            <link>https://medium.com/@chaitanyasirivuri?source=rss-a273367602d8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 20 May 2026 13:30:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chaitanyasirivuri/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[Setting up Apple Silicon(M1, M1 Pro, M1 Max, M1 Ultra….) for deep learning]]></title>
            <link>https://medium.com/@chaitanyasirivuri/setting-up-apple-silicon-m1-m1-pro-m1-max-m1-ultra-for-deep-learning-69385dfbaba0?source=rss-a273367602d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/69385dfbaba0</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[pytorch]]></category>
            <category><![CDATA[m1]]></category>
            <category><![CDATA[tensorflow]]></category>
            <dc:creator><![CDATA[Chaitanyasirivuri]]></dc:creator>
            <pubDate>Wed, 20 Sep 2023 15:32:23 GMT</pubDate>
            <atom:updated>2023-09-20T15:32:23.879Z</atom:updated>
            <content:encoded><![CDATA[<p>Apple silicon has revolutionized the desktop processors with is ARM based silicon, configuring it for deep learning to test its potential would be fun but setting it up to its full potential would be quiet challenging and time consuming to find all the resources. In this article the process will be simplified and will take only few minutes based on your network speeds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8CNfOOjdjWPBhtfIEmApyw.jpeg" /></figure><h3>Installing package managers (Homebrew and Miniforge)</h3><ol><li>Download and install Homebrew from <a href="https://brew.sh/">https://brew.sh</a>. Homebrew is a package manager that sets up a lot of useful things on your machine, including Command Line Tools for Xcode, you’ll need this to run things like git. The command to install Homebrew will look something like:</li></ol><pre>/bin/bash -c &quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)&quot;</pre><p>It will explain what it’s doing and what you need to do as you go.</p><ol><li><a href="https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh">Download Miniforge3 for Apple silicon</a>(minimal installer for Conda specific to conda-forge, Conda is another package manager and conda-forge is a Conda channel) from GitHub.</li></ol><p>Clicking the link above will download a shell file called Miniforge3-MacOSX-arm64.sh to your Downloads folder (unless otherwise specified).</p><ol><li>Open Terminal.</li><li>We’ve now got a shell file capable of installing Miniforge3, but to do so we’ll have to modify it’s permissions to <a href="https://askubuntu.com/tags/chmod/info">make it executable</a>.</li></ol><p>We’ll then execute (run) the program using sh.</p><pre>chmod +x ~/Downloads/Miniforge3-MacOSX-arm64.sh<br>sh ~/Downloads/Miniforge3-MacOSX-arm64.sh</pre><ol><li>This should install Miniforge3 into your home directory (~/ stands for &quot;Home&quot; on Mac).</li></ol><p>To check this, we can try to activate the (base) environment, we can do so using the source command.</p><pre>source ~/miniforge3/bin/activate</pre><p>If it worked, you should see something like the following in your terminal window.</p><pre>(base) chaitanya@Chaitanyas-MBP ~ %</pre><ol><li>We’ve just installed some new software and for it to fully work, we’ll need to restart terminal.</li></ol><h3>Creating a TensorFlow environment</h3><p>Now we’ve got the package managers we need, it’s time to install TensorFlow.</p><p>Let’s setup a folder called dlbase (you can call this anything you want) and install everything in there to make sure it&#39;s working.</p><blockquote><em>Note: An environment is like a virtual room on your computer. For example, you use the kitchen in your house for cooking because it’s got all the tools you need. It would be strange to have an oven in your bedroom. The same thing on your computer. If you’re going to be working on specific software, you’ll want it all in one place and not scattered everywhere else.</em></blockquote><p>1. Make a directory called dlbase. This is the directory we&#39;re going to be storing our environment. And inside the environment will be the software tools we need to run TensorFlow.</p><p>We can do so with the mkdir command which stands for &quot;make directory&quot;.</p><pre>mkdir dlbase</pre><p>2. Change into dlbase. For the rest of the commands we&#39;ll be running them inside the directory dlbase so we need to change into it.</p><p>We can do this with the cd command which stands for &quot;change directory&quot;.</p><pre>cd dlbase</pre><p>3. Now we’re inside the dlbase directory, let&#39;s create a new Conda environment using the conda command (this command was installed when we installed Miniforge above).</p><p>We do so using conda create --prefix ./env which stands for &quot;conda create an environment with the name file/path/to/this/folder/env&quot;. The . stands for &quot;everything before&quot;.</p><p>For example, if I didn’t use the ./env, my file path looks like: /Users/chaitanya/dlbase/env</p><pre>conda create --prefix ./env</pre><p>4. Activate the environment. If conda created the environment correctly, you should be able to activate it using conda activate path/to/environment.</p><p>Short version:</p><pre>conda activate ./env</pre><p>Long version:</p><pre>conda activate /Users/chaitanya/dlbase/env</pre><blockquote><em>Note: It’s important to activate your environment every time you’d like to work on projects that use the software you install into that environment. For example, you might have one environment for every different project you work on. And all of the different tools for that specific project are stored in its specific environment.</em></blockquote><p>If activating your environment went correctly, your terminal window prompt should look something like:</p><pre>(/Users/chaitanya/dlbase/env) chaitanya@Chaitanyas-MBP dlbase %</pre><p>5. Now we’ve got a Conda environment setup, it’s time to install the software we need.</p><blockquote><strong>Note: If you want to install PyTorch instead of TensorFlow skip this part and go down to PyTorch section at the end.</strong></blockquote><p>Let’s start by installing various TensorFlow dependencies (TensorFlow is a large piece of software and <em>depends</em> on many other pieces of software).</p><p>Rather than list these all out, Apple have setup a quick command so you can install almost everything TensorFlow needs in one line.</p><pre>conda install -c apple tensorflow-deps</pre><p>The above stands for “hey conda install all of the TensorFlow dependencies from the Apple Conda channel” (-c stands for channel).</p><p>If it worked, you should see a bunch of stuff being downloaded and installed for you.</p><p>6. Now all of the TensorFlow dependencies have been installed, it’s time install base TensorFlow.</p><p>Apple have created a fork (copy) of TensorFlow specifically for Apple Macs. It has all the features of TensorFlow with some extra functionality to make it work on Apple hardware.</p><p>This Apple fork of TensorFlow is called tensorflow-macos and is the version we&#39;ll be installing:</p><pre>python -m pip install tensorflow-macos</pre><p>Depending on your internet connection the above may take a few minutes since TensorFlow is quite a large piece of software.</p><p>7. Now we’ve got base TensorFlow installed, it’s time to install tensorflow-metal.</p><p>Why?</p><p>Machine learning models often benefit from GPU acceleration. And the M1, M1 Pro, M1 Max, M1 Ultra, M2, M2 Pro, M2 Max, M2 Ultra chips have quite powerful GPUs.</p><p>TensorFlow allows for automatic GPU acceleration if the right software is installed.</p><p>And Metal is Apple’s framework for GPU computing.</p><p>So Apple have created a plugin for TensorFlow (also referred to as a TensorFlow Pluggable Device) called tensorflow-metal to run TensorFlow on Mac GPUs.</p><p>We can install it using:</p><pre>python -m pip install tensorflow-metal</pre><p>If the above works, we should now be able to leverage our Mac’s GPU cores to speed up model training with TensorFlow.</p><p>8. (Optional) Install TensorFlow Datasets. Doing the above is enough to run TensorFlow on your machine. But if you’d like to run the benchmarks included in this repo, you’ll need TensorFlow Datasets.</p><p>TensorFlow Datasets provides a collection of common machine learning datasets to test out various machine learning code.</p><pre>python -m pip install tensorflow-datasets</pre><p>9. Install common data science packages. If you’d like to run the benchmarks above or work on other various data science and machine learning projects, you’re likely going to need Jupyter Notebooks, pandas for data manipulation, NumPy for numeric computing, matplotlib for plotting and Scikit-Learn for traditional machine learning algorithms and processing functions.</p><p>To install those in the current environment run:</p><pre>conda install jupyter pandas numpy matplotlib scikit-learn tqdm seaborn scipy</pre><p>10. Test it out. To see if everything worked, try starting a Jupyter Notebook and importing the installed packages.</p><pre># Start a Jupyter notebook<br>jupyter notebook</pre><p>Once the notebook is started, in the first cell:</p><pre>import numpy as np<br>import pandas as pd<br>import sklearn<br>import tensorflow as tf<br>import matplotlib.pyplot as plt<br># Check for TensorFlow GPU access<br>print(tf.config.list_physical_devices())<br># See TensorFlow version<br>print(tf.__version__)</pre><p>If it all worked, you should see something like:</p><pre>TensorFlow has access to the following devices:<br>[PhysicalDevice(name=&#39;/physical_device:CPU:0&#39;, device_type=&#39;CPU&#39;),<br>PhysicalDevice(name=&#39;/physical_device:GPU:0&#39;, device_type=&#39;GPU&#39;)]<br>TensorFlow version: 2.13.0</pre><p><strong>If you use PyTorch inplace of TensorFlow then you can swap out</strong></p><ol><li>Install the PyTorch 1.12.0+ default version for Mac with pip from the <a href="https://pytorch.org/get-started/locally/">PyTorch getting started page</a>.</li></ol><pre>pip3 install torch torchvision torchaudio</pre><p>To install those in the current environment run:</p><pre>conda install jupyter pandas numpy matplotlib scikit-learn tqdm seaborn scipy</pre><p>2. Test it out. To see if everything worked, try starting a Jupyter Notebook and importing the installed packages.</p><pre># Start a Jupyter notebook<br>jupyter notebook</pre><p>Create a new notebook by “New” -&gt; “Notebook: Python 3 (ipykernel)” and run the following code to verify all the dependencies are available and check PyTorch version/GPU access.</p><pre>import torch<br>import numpy as np<br>import pandas as pd<br>import sklearn<br>import matplotlib.pyplot as plt<br><br>print(f&quot;PyTorch version: {torch.__version__}&quot;)<br><br># Check PyTorch has access to MPS (Metal Performance Shader, Apple&#39;s GPU architecture)<br>print(f&quot;Is MPS (Metal Performance Shader) built? {torch.backends.mps.is_built()}&quot;)<br>print(f&quot;Is MPS available? {torch.backends.mps.is_available()}&quot;)<br><br># Set the device      <br>device = &quot;mps&quot; if torch.backends.mps.is_available() else &quot;cpu&quot;<br>print(f&quot;Using device: {device}&quot;)</pre><p>If it all worked, you should see something like:</p><pre>PyTorch version: 1.12.0<br>Is MPS (Metal Performance Shader) built? True<br>Is MPS available? True<br>Using device: mps</pre><p>To use this environment as default for all your other projects that are not in this dlbase folder, install VS Code and open your desired folder in that code editor and select this conda environment under Select Kernel menu.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69385dfbaba0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[7 Best Ways to Learn Linux: Your Comprehensive Guide]]></title>
            <link>https://medium.com/@chaitanyasirivuri/7-best-ways-to-learn-linux-your-comprehensive-guide-d63d443f89eb?source=rss-a273367602d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/d63d443f89eb</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[unix]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Chaitanyasirivuri]]></dc:creator>
            <pubDate>Tue, 19 Sep 2023 13:33:34 GMT</pubDate>
            <atom:updated>2023-09-19T13:33:34.462Z</atom:updated>
            <content:encoded><![CDATA[<p>Learning Linux is not just about acquiring a new skill; it’s about transforming your digital world and opening doors to exciting opportunities. Your Linux story is unique, and it starts with your personal motivations and goals. Are you ready to write your own Linux learning journey?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*dAXALa756Pvjmi7nI6pWqw.jpeg" /></figure><p><strong>Introduction</strong></p><p>Are you ready to embark on a journey to master Linux, the open-source operating system that powers a significant portion of the digital world? Whether you’re a complete beginner or have some experience, there are numerous ways to learn Linux effectively. In this article, I’ll be your guide, sharing eight of the best methods to help you become a Linux guru. From online courses to books, free resources to hands-on projects, there’s something for everyone.</p><ol><li><strong>Introduction to Linux (Free Code Camp)</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*OyJLLZ4X8WwKD0fNtt-S3Q.png" /></figure><p>Let’s start with a comprehensive course designed for beginners, “Introduction to Linux” offered by Free Code Camp. Free Code Camp is a non-profit organization dedicated to teaching coding skills for free, and they’ve had remarkable success in helping students land developer jobs. This six-hour course, taught by Bo Kearns, is perfect for those with limited or no prior exposure to Linux. Bo’s teaching style is engaging and effective, making it an excellent choice for beginners. Plus, it’s backed by the Linux Foundation, adding credibility to its quality.</p><blockquote>check here: <a href="https://www.freecodecamp.org/news/introduction-to-linux/">https://www.freecodecamp.org/news/introduction-to-linux/</a></blockquote><p><strong>2. “Linux Basics for Hackers” by No Starch Press</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/378/1*RHTxjIChsdGBurtHjDKhHw.jpeg" /></figure><p>If you prefer learning from books, “Linux Basics for Hackers” by No Starch Press is a must-read. This book stands out because it doesn’t just cover the basics of the Linux command line but also delves into various other essential topics. From device management to file systems and even compiling software from C source code, it provides a well-rounded understanding of Linux. The book is approachable and filled with examples, making it an excellent resource for self-paced learning.</p><blockquote>check here: <a href="https://nostarch.com/linuxbasicsforhackers">https://nostarch.com/linuxbasicsforhackers</a></blockquote><p><strong>3. Linux Journey (linuxjourney.com)</strong></p><p>For a unique and free learning experience, explore Linux Journey, an interactive platform with learning paths for different Linux topics. Linux Journey covers a wide range of Linux essentials and is particularly useful for those who prefer hands-on learning. Whether you’re interested in the command line, file systems, or system administration, you’ll find comprehensive resources here.</p><blockquote>check here: <a href="https://linuxjourney.com/">https://linuxjourney.com/</a></blockquote><p><strong>4. “The Linux Command Line” by No Starch Press</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*Mdbj8DQihSd8h3gco9Um-w.jpeg" /></figure><p>Another gem from No Starch Press is “The Linux Command Line.” While “Linux Basics for Hackers” is more expansive, this book offers a concise yet thorough exploration of Linux. It’s perfect for those who want to get straight to the point and learn essential command-line skills efficiently.</p><blockquote>Note: you can also checkout this author’s website for more fun (interesting) content. <a href="https://www.linuxcommand.org/">https://www.linuxcommand.org/</a></blockquote><blockquote>check here: <a href="https://www.amazon.com/Linux-Command-Line-2nd-Introduction-ebook/dp/B07J43H42Z">https://www.amazon.com/Linux-Command-Line-2nd-Introduction-ebook/dp/B07J43H42Z</a></blockquote><p><strong>5. ChatGPT for Personalized Learning</strong></p><p>Embrace the future of learning with ChatGPT. You can utilize the free GPT-3.5 version to create personalized Linux courses tailored to your level, interests, and time frame. Be detailed in your prompts, specifying your skill level (beginner, intermediate, or advanced), desired course duration, and any specific focus areas. ChatGPT will generate a customized curriculum and even challenge you with multiple-choice questions to test your knowledge.</p><blockquote>check here: <a href="https://chat.openai.com/">https://chat.openai.com/</a></blockquote><p><strong>6. Coursera’s Google IT Support Professional Certificate</strong></p><p>Coursera offers an excellent opportunity to learn Linux through its Google IT Support Professional Certificate. This comprehensive program includes a module on operating systems that covers both Linux and Windows. Completing the course not only grants you a certificate but also earns you academic credits that can be transferred to select academic institutions. It’s an investment in your future.</p><blockquote>check here: <a href="https://www.coursera.org/professional-certificates/google-it-support?irclickid=x0-Tqm1DcxyPWQLW3LynK2JJUkFU-KUp%3ATwKwk0&amp;irgwc=1&amp;utm_medium=partners&amp;utm_source=impact&amp;utm_campaign=1237683&amp;utm_content=b2c">https://www.coursera.org/professional-certificates/google-it-support?irclickid=x0-Tqm1DcxyPWQLW3LynK2JJUkFU-KUp%3ATwKwk0&amp;irgwc=1&amp;utm_medium=partners&amp;utm_source=impact&amp;utm_campaign=1237683&amp;utm_content=b2c</a></blockquote><p><strong>7. Raspberry Pi Projects</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*y_OO7BBk-DTws7Dx0xuG5Q.png" /></figure><p>One of the most enjoyable and practical ways to learn Linux is by working on Raspberry Pi projects. Raspberry Pi is an affordable single-board computer that requires you to install the Linux operating system, making it a fantastic hands-on learning experience. You’ll use the command line, explore networking, and delve into various Linux aspects while building exciting projects. Raspberry Pi prices start as low as $15, making it a cost-effective learning tool.</p><blockquote>check here: <a href="https://www.raspberrypi.com/for-home/">https://www.raspberrypi.com/for-home/</a></blockquote><p><strong>Conclusion</strong></p><p>Learning Linux is an exciting journey that offers numerous benefits, from enhancing your IT skills to opening up career opportunities. With the eight methods I’ve shared in this article, you have a variety of options to choose from. Whether you prefer structured online courses, in-depth books, interactive platforms, personalized learning with ChatGPT, or hands-on Raspberry Pi projects, there’s a path that suits your style and goals. Embrace the world of Linux, and let your learning adventure begin!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d63d443f89eb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Your First Streamlit App: A Step-by-Step Tutorial]]></title>
            <link>https://medium.com/@chaitanyasirivuri/building-your-first-streamlit-app-a-step-by-step-tutorial-e058d5dfe5f4?source=rss-a273367602d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/e058d5dfe5f4</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[web]]></category>
            <category><![CDATA[streamlit]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Chaitanyasirivuri]]></dc:creator>
            <pubDate>Mon, 18 Sep 2023 11:57:33 GMT</pubDate>
            <atom:updated>2023-09-18T11:58:09.377Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HCpU9Lsfnm8On56sJplEbw.png" /></figure><p><strong>Introduction</strong></p><p>In the previous article, we introduced Streamlit and discussed why it’s a fantastic choice for building interactive web applications with Python. Now, it’s time to roll up our sleeves and dive into the practical aspects of creating your first Streamlit app. By the end of this tutorial, you’ll have a functional Streamlit app that you can share with others.</p><p><strong>Prerequisites</strong></p><p>Before we get started, ensure you have Streamlit installed. You can install it using pip:</p><pre>pip install streamlit</pre><p><strong>Creating a Simple Streamlit App</strong></p><p>Let’s start by building a straightforward Streamlit app that displays a customizable message.</p><p><strong>1. Import Streamlit</strong>: Begin by importing the Streamlit library at the top of your Python script.</p><pre>import streamlit as st</pre><p><strong>2. Create the App Title</strong>: Set the title of your app using st.title()</p><pre>st.title(&#39;My First Streamlit App&#39;)</pre><p><strong>3. Add Text:</strong> You can include text using st.write().</p><pre>st.write(&#39;Welcome to my Streamlit app!&#39;)</pre><blockquote><strong>Note:</strong> st.write() is one of the most important functions of streamlit. In later sections we will see why.</blockquote><p><strong>4. Display User Input:</strong> Let’s make it interactive by adding a text input widget that allows users to customize the displayed message.</p><pre>user_input = st.text_input(&#39;Enter a custom message:&#39;, &#39;Hello, Streamlit!&#39;)</pre><p><strong>5. Display the Customized Message:</strong> Display the customized message using st.write().</p><pre>st.write(&#39;Customized Message:&#39;, user_input)</pre><p>Your complete script should look like this:</p><pre>import streamlit as st <br># Set the app title <br>st.title(&#39;My First Streamlit App&#39;) <br># Add a welcome message <br>st.write(&#39;Welcome to my Streamlit app!&#39;) <br># Create a text input <br>widgetuser_input = st.text_input(&#39;Enter a custom message:&#39;, &#39;Hello, Streamlit!&#39;) <br># Display the customized message <br>st.write(&#39;Customized Message:&#39;, user_input)</pre><p><strong>Running Your Streamlit App</strong></p><p>To run your Streamlit app, open your terminal or command prompt and navigate to the directory where your script is located. Then, execute the following command:</p><pre>streamlit run your_script.py</pre><p>Replace your_script.py with the name of your Python script.</p><p><strong>Interact with Your App</strong></p><p>Once your app is running, you can interact with it directly in your web browser. Try entering different custom messages in the text input field and observe how the displayed message updates in real-time.</p><p><strong>Conclusion</strong></p><p>Congratulations! You’ve successfully created your first Streamlit app. In this tutorial, we covered the basics of setting up a Streamlit app, adding text and user input widgets, and displaying dynamic content. In future tutorials, we’ll explore more advanced features of Streamlit, such as data visualization, integrating external libraries, and deploying your apps for sharing with others. Stay tuned for more Streamlit adventures!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e058d5dfe5f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started with Streamlit: Building Interactive Web Apps with Python]]></title>
            <link>https://medium.com/@chaitanyasirivuri/getting-started-with-streamlit-building-interactive-web-apps-with-python-bc64dd06434d?source=rss-a273367602d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc64dd06434d</guid>
            <category><![CDATA[streamlit]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[web]]></category>
            <dc:creator><![CDATA[Chaitanyasirivuri]]></dc:creator>
            <pubDate>Sun, 17 Sep 2023 13:17:23 GMT</pubDate>
            <atom:updated>2023-09-17T13:17:23.036Z</atom:updated>
            <content:encoded><![CDATA[<p>In the realm of data science and machine learning, sharing your insights and models with others often requires more than just a Jupyter Notebook or a PowerPoint presentation. Sometimes, you need to create interactive web applications that allow users to explore data, visualize results, or interact with your machine learning models. This is where Streamlit, a Python library, comes into play.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D4xTSeUoYf1gzdK0lh36yQ.png" /></figure><p><strong>Introduction</strong></p><p>In this article, we’ll embark on a journey to discover Streamlit, a powerful and user-friendly framework for building web applications using Python. Whether you’re a data scientist, a machine learning engineer, or a developer, Streamlit provides an intuitive way to turn your data scripts into shareable, interactive web apps without the need for extensive web development expertise.</p><p><strong>What is Streamlit?</strong></p><p>Streamlit is an open-source Python library designed for creating web applications with minimal effort. It focuses on simplicity and efficiency, allowing you to turn data scripts into shareable web apps with just a few lines of code. With Streamlit, you can build interactive dashboards, data visualizations, and machine learning applications in a matter of minutes, making it an excellent choice for both beginners and experienced developers.</p><p><strong>Why Streamlit?</strong></p><ol><li><strong>Rapid Prototyping</strong>: Streamlit’s simple and declarative syntax enables rapid development. You can create functional prototypes and iterate quickly.</li><li><strong>Python-Powered</strong>: If you’re already proficient in Python, you can leverage your existing knowledge and libraries, such as NumPy, pandas, and scikit-learn, within Streamlit apps.</li><li><strong>Interactive Widgets</strong>: Streamlit provides a wide range of widgets for user interaction, including sliders, text inputs, and buttons, allowing you to create dynamic user experiences.</li><li><strong>Data Integration</strong>: You can easily integrate data visualizations created with libraries like Matplotlib, Plotly, or Altair into your Streamlit apps.</li><li><strong>Machine Learning</strong>: Streamlit is an excellent choice for showcasing machine learning models, enabling you to build user-friendly interfaces for your models.</li></ol><p><strong>Installation and Setup</strong></p><p>Getting started with Streamlit is a breeze. First, ensure you have Python installed, and then install Streamlit using pip:</p><pre>pip install streamlit</pre><p>Once installed, you can create a simple Streamlit app with just a few lines of code:</p><pre>import streamlit as st<br><br># Title<br>st.title(&#39;My First Streamlit App&#39;)<br><br># Text<br>st.write(&#39;Welcome to my app!&#39;)<br><br># Data<br>data = st.slider(&#39;Select a value&#39;, 0, 100, 50)<br>st.write(&#39;You selected:&#39;, data)</pre><p><strong>Building Your First Streamlit App</strong></p><p>In the code above, we import Streamlit as st, add a title, display some text, and create a slider widget. Running this script with streamlit run your_script.py will launch your first Streamlit app in your web browser.</p><blockquote>Note: This is just the introductory part of the <strong>Getting Started with Streamlit </strong>don’t worry about the code up there, we will have a brief discussion in later articles</blockquote><p><strong>Conclusion</strong></p><p>Streamlit is a game-changer in the world of data science and machine learning. It empowers data professionals and developers to create interactive web applications effortlessly. In upcoming articles, we’ll delve deeper into Streamlit’s features, building more complex applications and integrating data visualizations and machine learning models. So, stay tuned for an exciting journey into the world of Streamlit!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc64dd06434d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>