<?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 Nimitt Goel on Medium]]></title>
        <description><![CDATA[Stories by Nimitt Goel on Medium]]></description>
        <link>https://medium.com/@goelnimitt241100?source=rss-a16619260378------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*UUC2SfO-wqegOGKm</url>
            <title>Stories by Nimitt Goel on Medium</title>
            <link>https://medium.com/@goelnimitt241100?source=rss-a16619260378------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 15:51:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@goelnimitt241100/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[Your one-stop to all machine learning libraries]]></title>
            <link>https://medium.com/@goelnimitt241100/your-one-stop-to-all-machine-learning-libraries-1c3c9efc4db0?source=rss-a16619260378------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c3c9efc4db0</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[python-libraries]]></category>
            <category><![CDATA[data-analytics-tools]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Nimitt Goel]]></dc:creator>
            <pubDate>Tue, 08 Feb 2022 17:52:45 GMT</pubDate>
            <atom:updated>2022-02-08T17:52:45.894Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-4uVzZy2ED9p8BI1" /><figcaption>Photo by <a href="https://unsplash.com/@itfeelslikefilm?utm_source=medium&amp;utm_medium=referral">🇸🇮 Janko Ferlič</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4><strong><em>Introduction</em></strong></h4><p>In the previous blogs of the series “<strong>Complete Machine Learning and Deep Learning for Beginners</strong>,” we have introduced you to the logical and mathematical concepts of machine learning. But moving forward, our blogs will be more coding-oriented, which requires a brief introduction of what libraries are used in machine learning.</p><p>The library has always been a repository for knowledge and research tools. With the advent of big data and data science, research has become more powerful and data-driven in recent years.</p><p>In the world of data science, “Libraries” work in the same manner as they do in the real world. Libraries help data scientists conceptualize how data is collected, organized, and stored. Librarians’ database design and development skills can be helpful for organization and data mining processes in Big Data.</p><blockquote>Formally, “libraries” may be defined as the collection of reusable functions and modules specialized in performing a particular task.</blockquote><h3><strong>Installing and Importing :</strong></h3><p>Different libraries offer you different types of functions to reach the desired result. Though they differ in many ways from each other, most libraries have a standard process through which they can be installed in the system and imported to be worked upon.</p><p>Libraries can be installed in your system using conda or pip package managers.</p><p>For example: to install a library named <em>‘libname’</em>, we can use the following commands.</p><p>using conda-</p><pre>conda install <em>libname</em></pre><p>using pip -</p><pre>pip install <em>libname</em></pre><p>Now, when the library is installed we need to import it using python in our environment.</p><pre>import libname as lb</pre><p>The ‘import libname’ portion of the code tells Python to bring the libname library into your current environment. The ‘as lb’ portion of the code then tells Python to give libname the alias of lb. This allows you to use libname functions by simply typing lb. The common alias used for some common libraries are- NumPy (np), pandas(pd), sci-kit learn (sklearn).</p><p>In the upcoming section you will be introduced to different libraries available and are used frequently in the data world:</p><h3><strong>1. Data Exploration and Math :</strong></h3><p>Data and mathematics are the heart and brain of data science. Hence, organizing and understanding the data in the best possible way and easy and efficient use of math to reach the desired result is the necessity of the field.</p><p>Following libraries are used to handle the data organization and various mathematics applications on the data for desired outcomes.</p><h4><strong><em>1.1 NumPy</em></strong></h4><p>NumPy (or Numerical Python) is the library used for handling arrays. It also has functions for working in the domain of linear algebra, Fourier transform, and matrices.</p><p>In Python, we have lists that serve the purpose of arrays, but they are slow to process. NumPy aims to provide an array object that is much faster than traditional Python lists. The array object in NumPy is called <em>“ndarray”</em>, it provides a lot of supporting functions that make working with <em>“ndarray”</em> very easy. Arrays are very frequently used in data science, where speed and resources are very important.</p><h4><strong><em>1.2 Pandas</em></strong></h4><p>Pandas is used for working with data sets. It has various functions for analyzing, cleaning, exploring, and manipulating data.</p><p>Pandas help to analyze big data and reach some conclusions based on statistical understandings. Cleaning messy data sets, and making them readable and relevant makes the core of data pre-processing. This can be done comfortably with the help of Pandas hence making it a relevant part of data science and analysis.</p><h4><strong><em>1.3 SciPy</em></strong></h4><p>SciPy (or Scientific Python) is a scientific computation library that uses NumPy underneath and provides more utility functions for optimization, stats, and signal processing.</p><p>Here a question might arise to your mind. If SciPy uses NumPy underneath, why can we not just use NumPy?</p><p>Actually, SciPy has optimized and added functions that are frequently used in NumPy and Data Science. It extends NumPy providing additional array computing tools and specialized data structures, such as sparse matrices and k-dimensional trees.</p><h3>2. Visualization :</h3><p>Following libraries are used in data visualization and representation. The human brain understands things more efficiently and quickly when represented in the form of graphs and charts. Given libraries helps to take our friendship with our data to an elevated level.</p><h4>2.1 Matplotlib</h4><p>Matplotlib is a python graph plotting library that helps create static, animated, and interactive visualizations.</p><p>From histograms to scatterplots, matplotlib lays down an array of colors, themes, palettes, and other options to customize and personalize our plots. matplotlib is helpful whether you’re performing data exploration for a machine learning project or simply want to create stunning and eye-catching charts.</p><h4>2.2 Seaborn</h4><p>Seaborn is a library for making statistical graphics in Python. It builds on top of Matplotlib and integrates closely with pandas data structures.</p><p>Seaborn helps you explore and understand your data. Its plotting functions operate on data frames and arrays containing whole datasets and internally perform the necessary semantic mapping and statistical aggregation to produce informative plots. Its dataset-oriented, declarative API lets you focus on what the different elements of your plots mean, rather than on the details of how to draw them.</p><h4>2.3 Pillow</h4><p>Pillow is a Python Imaging Library (PIL), which supports opening, manipulating, and saving images. Python Imaging Library is a free and open-source additional library for the Python programming language that adds support for opening, manipulating, and saving many different image file formats.</p><h4>2.4 Plotly</h4><p>The Plotly Python library is <strong>an interactive, open-source plotting library</strong> that supports over 40 unique chart types covering a wide range of statistical, financial, geographic, scientific, and 3-dimensional use-cases.</p><h3>3. Automatic EDA</h3><p>EDA is a data analysis process where multiple techniques are used to understand the used dataset better. It is basically used to identify a human error, missing values, or outliers. It extracts useful variables and removes useless variables. It is used to understand the relationship between variables or features. It ultimately maximizes your insights into a dataset and minimizes potential errors later in the process.</p><h4>3.1 Pandas-profiling</h4><p>Pandas profiling is an open-source Python module with which we can quickly do an exploratory data analysis with just a few lines of code. It also generates interactive reports in a web format that can be presented to anyone, even if they don’t know programming.</p><p>In short, what pandas profiling does is save us all the work of visualizing and understanding the distribution of each variable. It generates a report with all the information readily available.</p><h4>3.2 SweetViz</h4><p>SweetViz Library is an open-source Python library that generates beautiful, high-density visualizations to kickstart EDA with just two lines of code. Output is a fully self-contained HTML application. The system is built around quickly visualizing target values and comparing datasets. Its goal is to help quick analysis of target characteristics, training vs. testing data, and other such data characterization tasks.</p><h3>4. Data Mining and scraping</h3><p>Web Scraping<strong> </strong>is the process of collecting data from the internet by using various tools and frameworks. Sometimes, It is used for online price change monitoring, price comparison, and seeing how well the competitors are doing by extracting data from their websites.</p><h4>4.1 BeautifulSoup</h4><p>Beautiful Soup is a Python library that is used for web scraping purposes to pull the data out of HTML and XML files. It creates a parse tree from page source code that can be used to extract data in a hierarchical and more readable manner.</p><h4>4.2 Scrapy</h4><p>Scrapy is an open-source and collaborative framework for extracting the data you need from websites quickly and straightforwardly. This tool can be used for extracting data using APIs. It can also be used as a general-purpose web crawler. Thus, Scrapy is an application framework that can be used for writing web spiders that crawl websites and extract data from them.</p><h3>5. Machine Learning / Deep Learning -</h3><p>Following libraries help to import various models like classification, regression, clustering, and neural networks. These libraries make machine learning and deep learning different from any type of technology present in the modern world.</p><h4>5.1 Scikit Learn</h4><p>Scikit-learn is probably the most helpful library for machine learning in Python. The sklearn library contains a lot of efficient tools for machine learning and statistical modeling, including classification, regression, clustering, and dimensionality reduction.</p><h4>5.2 XGBoost</h4><p>XGBoost is a software library that you can download and install on your machine and then access from various interfaces. It provides an algorithm that is implemented using the Gradient boosting framework. According to its Github page:</p><p>XGBoost is an optimized distributed gradient boosting library designed to be highly <em>efficient</em>, <em>flexible</em>, and <em>portable</em>.</p><p>Most of the Kaggle competitions are won using this library, giving excellent results in real-world situations.</p><h4>5.3 Keras</h4><p>Keras is an open-source software library that provides a Python interface for artificial neural networks. Keras acts as an interface for the TensorFlow library.</p><p>Keras allows users to productize deep models on smartphones (iOS and Android), the web, or the Java Virtual Machine. It also allows the use of distributed training of deep-learning models on clusters of Graphics processing units (GPU) and tensor processing units (TPU).</p><h4>5.4 TensorFlow</h4><p>TensorFlow is a free and open-source software library for machine learning and artificial intelligence. It can be used across a range of tasks but focuses on the training and inference of deep neural networks.</p><h4>5.5 PyTorch</h4><p>PyTorch is an optimized tensor library primarily used for Deep Learning applications using GPUs and CPUs. It is an open-source machine learning library for Python, mainly developed by the Facebook AI Research team. It is one of the widely used Machine learning libraries, others being TensorFlow and Keras.</p><h3>6. Natural Language Toolkit (NLTK) -</h3><p>The Natural Language Toolkit, or more commonly NLTK, is a suite of libraries and programs for symbolic and statistical natural language processing (NLP) for English written in the Python programming language. NLTK includes graphical demonstrations and sample data.</p><p>NLTK is intended to support research and teaching in NLP or closely related areas, including empirical linguistics, cognitive science, artificial intelligence, information retrieval, and machine learning.</p><h3>Conclusion</h3><p>Now, since you are aware of almost all the valuable libraries which you could encounter in your journey towards data science and machine learning, we can move forward to some exciting insights and coding in the same.</p><p>Thank you,</p><p><strong>Previous post: </strong><a href="https://medium.com/codex/your-guide-to-supervised-learning-classification-6f0eeb8b7049"><strong>Your guide to Supervised Learning — Classification</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c3c9efc4db0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>