<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Abhay Parashar</title>
    <description>The latest articles on Forem by Abhay Parashar (@abhayparashar31).</description>
    <link>https://forem.com/abhayparashar31</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F514415%2F4eabd7c1-b1a3-4574-bbf8-29dccd5eaf81.jpeg</url>
      <title>Forem: Abhay Parashar</title>
      <link>https://forem.com/abhayparashar31</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/abhayparashar31"/>
    <language>en</language>
    <item>
      <title>10 Impressive Automation Scripts You Need To Try Using Python</title>
      <dc:creator>Abhay Parashar</dc:creator>
      <pubDate>Fri, 15 Dec 2023 08:33:20 +0000</pubDate>
      <link>https://forem.com/abhayparashar31/10-impressive-automation-scripts-you-need-to-try-using-python-43c1</link>
      <guid>https://forem.com/abhayparashar31/10-impressive-automation-scripts-you-need-to-try-using-python-43c1</guid>
      <description>&lt;p&gt;Automation allows the execution of certain tasks efficiently without or with less human intervention. Python is certainly the kind of automation when It comes to programming languages. It has many inbuilt functionalities with wide support of different packages that allow a developer to automate certain tasks efficiently with less effort. In this blog, We will look at 10 Fun automation scripts that you need to try using Python.&lt;/p&gt;

&lt;h2&gt;
  
  
  Auto ProofRead:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;: Correct spelling and grammatical errors in your text using the lmproof library in Python. This script can enhance the quality of your written content, making it error-free and polished.&lt;/p&gt;

&lt;h2&gt;
  
  
  PseudoData:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;: Generate realistic-looking artificial datasets using Python. This script is valuable for tasks such as testing database schemas, ML model development, and API testing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Notifo:
&lt;/h2&gt;

&lt;p&gt;Description: Combat forgetfulness and boost productivity with this reminder script. Set custom reminders with messages, and the script will notify you after the specified time, acting as your digital memory aid.&lt;/p&gt;

&lt;h2&gt;
  
  
  NATO Encryptions:
&lt;/h2&gt;

&lt;p&gt;Description: Encode and decode messages using NATO phonetic alphabet encryption. This script adds a layer of fun or security to messages, making them readable only with the correct set of keys.&lt;/p&gt;

&lt;h2&gt;
  
  
  Briefit:
&lt;/h2&gt;

&lt;p&gt;Description: Summarize articles using neural networks and web scraping. This script generates abstract summaries of articles, making it easier to grasp the main points when time is limited.&lt;/p&gt;

&lt;h2&gt;
  
  
  Image Exif:
&lt;/h2&gt;

&lt;p&gt;Description: Extract and remove Exif data from images. This script helps protect your privacy by removing metadata such as camera settings, geolocation, and other details embedded in images.&lt;/p&gt;

&lt;h2&gt;
  
  
  RemoveBG:
&lt;/h2&gt;

&lt;p&gt;Description: Remove the background from images locally using the rembg Python package. This script is handy for writers and others who frequently work with images and need them without a background.&lt;/p&gt;

&lt;h2&gt;
  
  
  FilterText:
&lt;/h2&gt;

&lt;p&gt;Description: Use regular expressions to filter text data. This script includes filters for email addresses, HTML tags, web links, mentions, and hashtags, making it versatile for various text-processing tasks.&lt;/p&gt;

&lt;h2&gt;
  
  
  EmailHeaders:
&lt;/h2&gt;

&lt;p&gt;Description: Parse and display important information from email headers. This script provides insights into an email's origin, transmission, and content, helping identify potential issues or suspicious activity.&lt;/p&gt;

&lt;h2&gt;
  
  
  TrendyStocks:
&lt;/h2&gt;

&lt;p&gt;Description: Fetch and visualize Google Trends data for specified stocks. This script helps investors understand the current trends in the market, making it a valuable tool for decision-making.&lt;br&gt;
investment decisions.&lt;/p&gt;

&lt;p&gt;Check out the source code for all these scripts &lt;a href="https://medium.com/pythoneers/10-impressive-automation-scripts-you-need-to-try-using-python-bc9bc7563633"&gt;here&lt;/a&gt;. &lt;/p&gt;

</description>
      <category>python</category>
      <category>programming</category>
      <category>productivity</category>
      <category>datascience</category>
    </item>
    <item>
      <title>10 Python Code Habits You Must Avoid for Efficient Programming</title>
      <dc:creator>Abhay Parashar</dc:creator>
      <pubDate>Sun, 09 Jul 2023 23:57:28 +0000</pubDate>
      <link>https://forem.com/abhayparashar31/10-python-code-habits-you-must-avoid-for-efficient-programming-gmm</link>
      <guid>https://forem.com/abhayparashar31/10-python-code-habits-you-must-avoid-for-efficient-programming-gmm</guid>
      <description>&lt;p&gt;Python has gained immense popularity among developers worldwide due to its readability and extensive range of libraries and frameworks. However, like any programming language, Python is not immune to mistakes and pitfalls.&lt;/p&gt;

&lt;p&gt;In this article, we’re going to explore 10 examples of bad code habits in Python. These examples will showcase common writing errors, inefficient practices, and potential pitfalls that can cause problems and make your Python code less efficient. Whether you’re a coding newbie or a seasoned programmer, this article is packed with examples of what NOT to do when writing code in Python.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Mixing different naming conventions
&lt;/h2&gt;

&lt;p&gt;Mixing different naming conventions to define different parts, such as using a camel case for functions and a Pascal case for variables makes the code inconsistent and harder to read.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;def myFunction(num):
    MyVar = num/3.5
    return MyVar
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It’s better to follow a consistent naming convention throughout the source code to improve code readability and maintainability. One of the most used and widely adopted conventions is snake_case where identifiers are written in lowercase with underscores separating different words.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;def my_function(num):
    my_var = num/3.5
    return my_var
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  2. Ignoring code comments
&lt;/h2&gt;

&lt;p&gt;Leaving incomplete or misleading comments, or not providing any documentation can impact the understandability of the code and create confusion among fellow developers.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import re
text = "abc@xyz.com for further information."+\
        "You can also give feedbacl at feedback@xyz.com"

emails = re.findall(r"[a-z0-9\.\-+_]+@[a-z0-9\.\-+_]+\.[a-z]+", text)
print (emails)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Clear comments and comprehensive documentation provide essential context and ensure smooth collaboration between developers. It also reduces the time and effort required for understanding the code. By documenting the code properly developers can ensure that future changes and updates can be implemented efficiently, which leads to a more robust and maintainable end product.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://medium.com/gitconnected/10-bad-code-habits-to-avoid-in-python-6e45037afc49"&gt;Read More&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>development</category>
      <category>datascience</category>
      <category>ai</category>
    </item>
    <item>
      <title>How To Explain Each Machine Learning Model In Brief</title>
      <dc:creator>Abhay Parashar</dc:creator>
      <pubDate>Thu, 25 Aug 2022 17:30:30 +0000</pubDate>
      <link>https://forem.com/abhayparashar31/how-to-explain-each-machine-learning-model-in-brief-15ei</link>
      <guid>https://forem.com/abhayparashar31/how-to-explain-each-machine-learning-model-in-brief-15ei</guid>
      <description>&lt;p&gt;In this blog, I want to share a resource that provides concise explanations of all machine learning models ranging from Simple Linear regression to XGBoost to Clustering techniques.&lt;/p&gt;

&lt;p&gt;Models Covered&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Linear Regression&lt;/li&gt;
&lt;li&gt; Polynomial Regression&lt;/li&gt;
&lt;li&gt; Ridge Regression&lt;/li&gt;
&lt;li&gt; Lasso Regression&lt;/li&gt;
&lt;li&gt; Elastic Regression&lt;/li&gt;
&lt;li&gt; Logistic Regression&lt;/li&gt;
&lt;li&gt; K Nearest-Neighbors&lt;/li&gt;
&lt;li&gt; Naive Bayes&lt;/li&gt;
&lt;li&gt; Support Vector Machines&lt;/li&gt;
&lt;li&gt;Decision Trees&lt;/li&gt;
&lt;li&gt;Random Forest&lt;/li&gt;
&lt;li&gt;Extra Trees&lt;/li&gt;
&lt;li&gt;Gradient Boost&lt;/li&gt;
&lt;li&gt;Ada Boost&lt;/li&gt;
&lt;li&gt;XGBoost&lt;/li&gt;
&lt;li&gt;K Means Clustering&lt;/li&gt;
&lt;li&gt;Hierarchical Clustering&lt;/li&gt;
&lt;li&gt;DBSCAN Clustering&lt;/li&gt;
&lt;li&gt;Apriori &lt;/li&gt;
&lt;li&gt;PCA&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://levelup.gitconnected.com/explaining-each-machine-learning-model-in-brief-92f82b41ba71"&gt;Read More&lt;/a&gt;&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>ai</category>
      <category>datascience</category>
      <category>python</category>
    </item>
    <item>
      <title>10 Useful Automation Scripts You Need To Try Using Python</title>
      <dc:creator>Abhay Parashar</dc:creator>
      <pubDate>Wed, 25 May 2022 16:04:24 +0000</pubDate>
      <link>https://forem.com/abhayparashar31/10-useful-automation-scripts-you-need-to-try-using-python-p19</link>
      <guid>https://forem.com/abhayparashar31/10-useful-automation-scripts-you-need-to-try-using-python-p19</guid>
      <description>&lt;p&gt;Automation is changing the lifestyle of people around the world. It is helping industries grow much faster without the need for manpower. One of the biggest industries that are being upgraded by Automation is Software Industry. Developers Around the world create and share software that helps reduce the time consumption for a process. Python is a leading language for producing automation scripts. It provides syntax with lots of tools and libraries that support writing automation scripts. In this blog, We are going to take a look at 10 useful automation scripts you need to try using python.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Wikipedia Automated Article Summaries&lt;/li&gt;
&lt;li&gt;The New Way To Share Social Links ♻&lt;/li&gt;
&lt;li&gt;Track Spam Number&lt;/li&gt;
&lt;li&gt;Make Your Images Better&lt;/li&gt;
&lt;li&gt;HTML Email Sender&lt;/li&gt;
&lt;li&gt;One-Click Is All You Need (To Run Python)&lt;/li&gt;
&lt;li&gt;Automate Product Marketing&lt;/li&gt;
&lt;li&gt;Encrypt Your Passwords&lt;/li&gt;
&lt;li&gt;Edit Videos The Pythonic Way&lt;/li&gt;
&lt;li&gt;Clean and Analyze Text Super Quick&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://medium.com/pythoneers/10-useful-automation-scripts-you-need-to-try-using-python-de9c993f1f5"&gt;Check The Full Article Here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>programming</category>
      <category>productivity</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Jupyter Notebook 101: Everything You Need To Know</title>
      <dc:creator>Abhay Parashar</dc:creator>
      <pubDate>Wed, 12 Jan 2022 03:37:12 +0000</pubDate>
      <link>https://forem.com/abhayparashar31/jupyter-notebook-101-everything-you-need-to-know-2mag</link>
      <guid>https://forem.com/abhayparashar31/jupyter-notebook-101-everything-you-need-to-know-2mag</guid>
      <description>&lt;p&gt;Jupyter Notebook is a web-based computing platform that allows developers to code, visualize, share and embed multimedia with explanatory text inside a single document. It is a famous tool for showcasing your work because You can see both the code and the results in the same file.&lt;/p&gt;

&lt;p&gt;It is very famous among data scientists because you can get a better understanding of the data by executing each line of code separately. Jupyter Notebook allows its users to download the notebook in various file formats like PDF, HTML, Python, Markdown, or an. ipynb file.&lt;/p&gt;

&lt;p&gt;There Are Two Essential Parts of a Jupyter Notebook — Markdown Cell and Code Cells.&lt;/p&gt;

&lt;h4&gt;
  
  
  1. Markdown Cell
&lt;/h4&gt;

&lt;p&gt;A Markdown Cell represents your work by providing enough explanation to readers about the code block below them. Markdown Writing Is an essential skill for every data scientist. It displays text which is formatted using a markup language. By Default All The Cells Will Be Code Cells. To Convert a Code Cell Into a Markdown Cell Just Press &lt;code&gt;ESC&lt;/code&gt; to enter in command mode and then press &lt;code&gt;m&lt;/code&gt; to convert it into a markdown.&lt;/p&gt;

&lt;h4&gt;
  
  
  2. Code Cell
&lt;/h4&gt;

&lt;p&gt;A Code Cell allows you to Create, Update, Read, Edit, and Delete Code With full syntax highlighting and tab completion. The Default Kernal of Jupyter Notebook is Ipython That Runs Python Code. When a Code Cell executes the code inside it, the flow goes to the kernel (IPython default) that runs the code. To Execute a Code Cell You Can Use Keyboard Keys Combination &lt;code&gt;SHIFT+ENTER&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;To Install Jupyter Notebook Inside a python environment just run the command &lt;code&gt;pip install jupyter&lt;/code&gt; and to open the web client-server just type &lt;code&gt;jupyter notebook&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Rio4QDr8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h5huf11r6am0bqkc21te.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Rio4QDr8--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h5huf11r6am0bqkc21te.png" alt="Image description" width="880" height="506"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After Running The Command A Web Page Will Open On Your Default Browser That is The Homepage of Jupyter Notebook. Simply click on New select python3 to create a notebook.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9c0KwJPL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/enx7hc17c6s6osmh74vy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9c0KwJPL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/enx7hc17c6s6osmh74vy.png" alt="Image description" width="880" height="301"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The Blue Rectangle In Above Picture Shows The Title that can be renamed by clicking on it. The yellow rectangle shows a code cell that can be changed into a markdown cell-like maroon color box using the command or with the dropdown. In the Top Right Corner, You Can Confirm The Kernal. Below The Title There is a Toolbar using which you can perform multiple tasks like saving the file, creating a new cell, converting the code cell into markdown, etc.&lt;/p&gt;

&lt;p&gt;Now, That You Have a Brief Idea About Jupyter Notebook. Let’s Know Some of the tricks and hacks that are helpful for you.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. ᴍᴀʀᴋᴅᴏᴡɴ ᴄᴇʟʟ ɢᴜɪᴅᴇ
   1.1 ᴏʀɢᴀɴɪᴢɪɴɢ ᴛᴇxᴛ
     1.1.1 ᴛᴇxᴛ ʟᴇᴠᴇʟꜱ
     1.1.2 ᴛᴇxᴛ ᴇᴍᴘʜᴀꜱɪꜱ
     1.1.3 ᴘᴀʀᴀɢʀᴀᴘʜ ʙʀᴇᴀᴋᴇʀꜱ
     1.1.4 ʙʟᴀᴄᴋQᴜᴏᴛᴇꜱ
     1.1.5 ʜɪɢʜʟɪɢʜᴛɪɴɢ &amp;amp; ᴄᴏᴅᴇʙʟᴏᴄᴋꜱ
   1.2 ᴀᴅᴅɪɴɢ ᴄᴜꜱᴛᴏᴍ ᴄꜱꜱ
     1.2.1 ᴛᴇxᴛ ᴄᴏʟᴏʀ
     1.2.2 ᴛᴇxᴛ ʙᴀᴄᴋɢʀᴏᴜɴᴅ ᴄᴏʟᴏʀ
     1.2.3 ꜰᴏɴᴛ ꜰᴀᴍɪʟʏ
     1.2.4 ꜰᴏɴᴛ ꜱɪᴢᴇ
     1.2.5 ᴄᴏʟᴏʀᴇᴅ ɴᴏᴛᴇ ʙᴏxᴇꜱ
   1.3 ᴄʀᴇᴀᴛɪɴɢ ᴛᴀʙʟᴇꜱ
   1.4 ʜʏᴘᴇʀʟɪɴᴋꜱ
   1.5 ɪᴍᴀɢᴇꜱ
   1.6 ɴᴀᴠɪɢᴀᴛɪᴏɴꜱ (ᴛᴀʙʟᴇ ᴏꜰ ᴄᴏɴᴛᴇɴᴛ)
2. ᴄᴏᴅᴇ ᴄᴇʟʟ ᴛʀɪᴄᴋꜱ
   2.1 ʀᴜɴɴɪɴɢ ꜱʜᴇʟʟ ᴄᴏᴍᴍᴀɴᴅꜱ ɪɴꜱɪᴅᴇ ᴛʜᴇ ɴᴏᴛᴇʙᴏᴏᴋ
   2.2 ᴍᴇᴀꜱᴜʀɪɴɢ ᴄᴇʟʟ ᴇxᴇᴄᴜᴛɪᴏɴ ᴛɪᴍᴇ
   2.3 ᴠɪᴇᴡɪɴɢ &amp;amp; ʟɪɴᴋɪɴɢ ᴅᴏᴄᴜᴍᴇɴᴛᴀᴛɪᴏɴ
   2.4 ᴀʟᴀʀᴍ ꜰᴏʀ ꜱʜᴇʟʟ ᴇxᴇᴄᴜᴛɪᴏɴ
   2.5 ʜɪᴅᴇ ᴀɴɴᴏʏɪɴɢ ᴏᴜᴛᴘᴜᴛ
   2.6 ꜱʜᴏᴡ ᴍᴜʟᴛɪᴘʟᴇ ᴏᴜᴛᴘᴜᴛꜱ
   2.7 ɴᴏᴛᴇʙᴏᴏᴋ ᴡɪᴅᴛʜ
   2.8 ᴇᴍʙᴇᴅᴅɪɴɢ ᴠɪᴅᴇᴏꜱ
3. ɪᴍᴘᴏʀᴛᴀɴᴛ ᴋᴇʏʙᴏᴀʀᴅ ꜱʜᴏʀᴛᴄᴜᴛꜱ
4. ᴇxᴛᴇɴꜱɪᴏɴꜱ &amp;amp; ᴛʜᴇᴍᴇꜱ
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  1. Markdown Cell Guide
&lt;/h2&gt;

&lt;p&gt;Markdown Cells Display Text that is used to understand the code flow and thought process of the developer. The Text Written Inside Should Be Clear and Properly Organized.&lt;/p&gt;

&lt;p&gt;These Cells Are Similar To Comments in any programming language with some extra powers. Like, Adding images, Changing Font Size, Font Family, Dividing Text into different levels, breaking paragraphs, giving text color, adding links, etc. Let’s See Each One By One.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://medium.com/pythoneers/jupyter-notebook-101-everything-you-need-to-know-56cda3ea76ef"&gt;Read The Complete Blog Post Here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>datascience</category>
      <category>python</category>
      <category>ai</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Top 10 Datasets For Machine Learning Practitioners With Notebook Solutions</title>
      <dc:creator>Abhay Parashar</dc:creator>
      <pubDate>Tue, 04 Jan 2022 16:16:44 +0000</pubDate>
      <link>https://forem.com/abhayparashar31/top-10-datasets-for-machine-learning-practitioners-with-notebook-solutions-5031</link>
      <guid>https://forem.com/abhayparashar31/top-10-datasets-for-machine-learning-practitioners-with-notebook-solutions-5031</guid>
      <description>&lt;p&gt;Machine learning is the study of computer algorithms that can improve automatically through experience and by the use of data, as per Wikipedia. It is a branch of Artificial Intelligence. It is used for time series forecasting, fraud detection, spam filtration, Recommendations, Marketing, Healthcare, etc.&lt;/p&gt;

&lt;p&gt;Datasets work as roots for machine learning projects. a dataset is a collection of rows and columns where each column represents a different variable and each row represents a record for the variables. Every Machine Learning Project Start and End Because of Datasets. In This Blog, I am Going To Share With You Over 20 Datasets From Different Domains Like Computer Vision, Time Series, Natural Language Processing, Predictive Analysis, and More.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“The Goal Is To Convert Data Into Information and Information Into Insights” — Carly Fiorina&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ol&gt;
&lt;li&gt;The IRIS Dataset&lt;/li&gt;
&lt;li&gt;The Mall Customer Dataset&lt;/li&gt;
&lt;li&gt;The Boston House Prices Dataset&lt;/li&gt;
&lt;li&gt;IMDB Reviews Dataset&lt;/li&gt;
&lt;li&gt;Wine Quality Dataset&lt;/li&gt;
&lt;li&gt;Titanic Dataset&lt;/li&gt;
&lt;li&gt;Spam SMS Dataset&lt;/li&gt;
&lt;li&gt;Movie Lens Dataset&lt;/li&gt;
&lt;li&gt;MNIST Dataset&lt;/li&gt;
&lt;li&gt;German Traffic Sign Recognition&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Get a Sneak Peak of Datasets and Notebook Links &lt;a href="https://medium.com/pythoneers/top-10-datasets-for-machine-learning-practitioners-with-notebook-solutions-d89c0c1adfe9"&gt;Here&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>python</category>
      <category>programming</category>
      <category>datascience</category>
    </item>
    <item>
      <title>10 Handy Automation Scripts You Should Try Using Python</title>
      <dc:creator>Abhay Parashar</dc:creator>
      <pubDate>Thu, 23 Dec 2021 06:51:30 +0000</pubDate>
      <link>https://forem.com/abhayparashar31/10-handy-automation-scripts-you-should-try-using-python-319c</link>
      <guid>https://forem.com/abhayparashar31/10-handy-automation-scripts-you-should-try-using-python-319c</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hrIeS4Qr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tx4rn00sx4lhb9vk6mm0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hrIeS4Qr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tx4rn00sx4lhb9vk6mm0.png" alt="Photo by wayhomestudio on Freepik Created Using Canva" width="880" height="587"&gt;&lt;/a&gt;&lt;br&gt;
Automation is the process of completing a task without any human intervention. There are many programming languages that provide different ways to automate tasks but out of all python is a preferred and first choice. The reason is it offers a simple syntax, tons of useful packages to work with. In this blog, we are going to take a look at 10 handy automation scripts you should have using python.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Your Friend For Reading Articles 👁‍🗨&lt;/li&gt;
&lt;li&gt;One-Click Sketching&lt;/li&gt;
&lt;li&gt;Stay Up With Top Headlines&lt;/li&gt;
&lt;li&gt;Stocks Updates On The Start&lt;/li&gt;
&lt;li&gt;Bulk Email Sender&lt;/li&gt;
&lt;li&gt;No Time For EDA&lt;/li&gt;
&lt;li&gt;Smart Login To Different Sites&lt;/li&gt;
&lt;li&gt;Be Safe &amp;amp; Watermark Your Images&lt;/li&gt;
&lt;li&gt;Remember That (Reminder App)&lt;/li&gt;
&lt;li&gt;Google Scraper&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://medium.com/pythoneers/10-handy-automation-scripts-you-should-try-using-python-fc9450116938"&gt;&lt;strong&gt;Check The Full Article Here&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>python</category>
      <category>productivity</category>
      <category>beginners</category>
    </item>
    <item>
      <title>12 Unique Python Project Ideas for Your Resume</title>
      <dc:creator>Abhay Parashar</dc:creator>
      <pubDate>Thu, 15 Jul 2021 17:39:17 +0000</pubDate>
      <link>https://forem.com/abhayparashar31/12-unique-python-project-ideas-for-your-resume-4j31</link>
      <guid>https://forem.com/abhayparashar31/12-unique-python-project-ideas-for-your-resume-4j31</guid>
      <description>&lt;p&gt;There are two ways to get a decent job in IT:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;With a certificate&lt;/li&gt;
&lt;li&gt;With knowledge and the projects you have built&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In my opinion, projects speak louder than certificates. In this article, we are going to see 12 Python project ideas for your resume. Every idea is from a different domain and contains some information about the different projects you can build in it.&lt;/p&gt;

&lt;p&gt;First, remember one thing:&lt;br&gt;
“A project is complete when it starts working for you, rather than you working for it.” — Scott Allen&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Desktop Assistant
&lt;/h3&gt;

&lt;p&gt;A desktop assistant can be a good project for your resume. It shows the interviewer how wise you are. You know how to use resources and make something good with them.&lt;br&gt;
You don’t have to be very technical or an advanced Python developer to create one. It can be created with just the help of a few different Python packages.&lt;br&gt;
There are many available in Python that you can use, like Pyttsx3 for reading text, os for adding facilities like playing music or starting an application, Wikipedia for finding answers on the web, and more. Keep one thing in mind: Every package you use must provide a feature to your assistant.&lt;br&gt;
You can even make your assistant more advanced by adding web scraping and automation facilities. Write a script that can scrape Google Search results. You can add this to your script to make it look more advanced.&lt;br&gt;
This project has no end to it. The more features you add, the more professional and useful it becomes.&lt;br&gt;
To get some insight into how all this will work, check out this article.&lt;/p&gt;

&lt;p&gt;Check Out Other 11 Unique Project Ideas By From &lt;a href="https://betterprogramming.pub/12-unique-python-project-ideas-for-your-resume-eb23c77c500a"&gt;Here&lt;/a&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Believe Me You Will Not Regret It.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>python</category>
      <category>programming</category>
      <category>datascience</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Best Practices To Follow While Creating Classes In Python</title>
      <dc:creator>Abhay Parashar</dc:creator>
      <pubDate>Tue, 06 Jul 2021 16:16:07 +0000</pubDate>
      <link>https://forem.com/abhayparashar31/best-practices-to-follow-while-creating-classes-in-python-1kjp</link>
      <guid>https://forem.com/abhayparashar31/best-practices-to-follow-while-creating-classes-in-python-1kjp</guid>
      <description>&lt;p&gt;Object-Oriented Programming Is a programming paradigm based on the concepts of classes and objects. The Concept of oop First Introduced in 1967. The First-ever programming language that has the primary features of OOP is Simula Created by Alan Kay.&lt;br&gt;
A Class in oop Works as a blueprint for the object. if we define a car as a class then different brands or types of cars will be objects.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why OOP?
&lt;/h2&gt;

&lt;p&gt;You Might Have a question in mind why do I need oop? what’s the need of creating it? Why it is used so much?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;OOP Makes it so much easy to maintain and update existing code.&lt;/li&gt;
&lt;li&gt;It provides code reusability.&lt;/li&gt;
&lt;li&gt;Works Best With Real-Life Problems.&lt;/li&gt;
&lt;li&gt;Have a Modular Structure.&lt;/li&gt;
&lt;li&gt;Easy to debug.&lt;/li&gt;
&lt;li&gt;In comparison to others (functional or structural), it is much faster and more efficient to use.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Best Practices For OOP
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Use Inheritance Instead of redefining variables
&lt;/h3&gt;

&lt;p&gt;Inheritance is one of the four pillars of OOP. It is the process by which one class inherits the properties of another class. The Class that inherits properties from another class is called child and the other one is called the Parent class.&lt;/p&gt;

&lt;p&gt;Let’s Take a scenario, You have a &lt;code&gt;Employee&lt;/code&gt; class that has parameters like name, age, experience, salary. Then You have other classes Like &lt;code&gt;Developers&lt;/code&gt; and &lt;code&gt;Designers&lt;/code&gt; that contains the information related to the particular field.&lt;/p&gt;

&lt;p&gt;Now If You Don’t Use Inheritance then you have to define the name, age, experience, salary parameters for each class separately&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4L8Aejbm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uv83aurq8pdbknulj0sv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4L8Aejbm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uv83aurq8pdbknulj0sv.png" alt="Bad Code Example"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The Above Code Looks Messy and shows a bad representation. Inheritance can help us to reduce the code and make it look more readable and professional.&lt;/p&gt;

&lt;p&gt;In Python, to inherit a class, we use &lt;code&gt;Child_class(Parent_class)&lt;/code&gt; it at the time of defining the class. The &lt;code&gt;super()&lt;/code&gt; method helps a child class to access the members of the parent class. &lt;code&gt;Developers&lt;/code&gt; class accesses &lt;code&gt;name&lt;/code&gt;, &lt;code&gt;age&lt;/code&gt;, &lt;code&gt;exp&lt;/code&gt;, and &lt;code&gt;salary&lt;/code&gt; information from the parent class. Let’s see how inheritance reduce the size of the code —&lt;br&gt;
&lt;a href="https://medium.com/pythoneers/best-practices-to-follow-while-creating-classes-in-python-4497bc8535dc"&gt;Read More&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>oop</category>
      <category>programming</category>
      <category>productivity</category>
    </item>
    <item>
      <title>35 Must Known GitHub Repositories For Developers</title>
      <dc:creator>Abhay Parashar</dc:creator>
      <pubDate>Fri, 25 Jun 2021 17:57:57 +0000</pubDate>
      <link>https://forem.com/abhayparashar31/35-must-known-github-repositories-for-developers-2hi7</link>
      <guid>https://forem.com/abhayparashar31/35-must-known-github-repositories-for-developers-2hi7</guid>
      <description>&lt;p&gt;GitHub is a git hosting platform service. There is not a single thing that you can’t find on GitHub related to the software industry. It is a goldmine of resources for developers. Like every other mine in the world, you need to be a good miner to dig gold to get great resources from it.&lt;br&gt;
If you are not in the mood to do a lot of research, don’t worry I am here for you. In this blog, we are going to see some of the best GitHub repositories for developers that you should bookmark right away.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. The Algorithm
&lt;/h2&gt;

&lt;p&gt;It is one of the best GitHub repositories for learning data structures and algorithms using different languages. Data Structures must be known for every computer science student. Whether you are a python developer, Java developer, Go developer, or some old-school C++ developer, there is something for everyone in this repository that you should learn. All the algorithms and data structures present here are explained very easily. They also have a website for easy access to all the code.&lt;br&gt;
&lt;strong&gt;Stats : (111k+ ⭐) (30.4k+ Forked)&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. freeCodeCamp/freeCodeCamp
&lt;/h2&gt;

&lt;p&gt;Freecodecamp is a nonprofit organization that provides a free learning platform for learning to code. Their Github repository is the backend for everything. In the repo, there is a README.md file that contains the links to each course available on the website. The Github Profile of FreeCodeCamp also contains many other useful repositories like boilerplates for different programming languages, how to contribute to open source, and many more.&lt;br&gt;
&lt;strong&gt;Stats : (325k+ ⭐) (26k+ Forked)&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. EbookFoundation/free-programming-books
&lt;/h2&gt;

&lt;p&gt;This repository is another GEM of Github. The repository provided by EbookFoundation contains a list of free programming books. You will find links to free books in 20+ languages. There are Over a thousand books that are covering over 100 programming languages and millions of concepts.&lt;br&gt;
&lt;strong&gt;Stats : (194k+ ⭐) (43k+ Forked)&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Avik-Jain/100-Days-Of-ML-Code
&lt;/h2&gt;

&lt;p&gt;This repository is more than a repo, it shows the constant hard work and dedication of a group of people to contribute to open source. As the name of the repository suggests, it has a 100-day curriculum to learn Machine Learning. One of the best parts of this repo is the attractive banner images for every day. If you are a learner or a developer of ML this one is a must be forked for you.&lt;br&gt;
&lt;strong&gt;Stats : (32.4k+ ⭐) (8.2k+ Forked)&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  5. tuvtran/project-based-learning
&lt;/h2&gt;

&lt;p&gt;One of the best ways to learn to code is by building projects because in the end, all that matters is the number of projects and knowledge you have. Many companies are giving priority to projects more than certificates.&lt;br&gt;
This repo has a collection of links to different projects on the internet to help you boost your learning in different areas of programming. Whether it is web development, Game Development, JavaScript, or Python you will find a project for everything.&lt;br&gt;
&lt;strong&gt;Stats : (51.4k+ ⭐) (8k+ Forked)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check Out Other 30 Valuable Repositories &lt;a href="https://levelup.gitconnected.com/35-most-valuable-github-repositories-for-developers-45ab9df1af81"&gt;here&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>github</category>
      <category>programming</category>
      <category>python</category>
      <category>java</category>
    </item>
    <item>
      <title>Master Logging In Python</title>
      <dc:creator>Abhay Parashar</dc:creator>
      <pubDate>Sat, 15 May 2021 06:04:54 +0000</pubDate>
      <link>https://forem.com/abhayparashar31/master-logging-in-python-4elp</link>
      <guid>https://forem.com/abhayparashar31/master-logging-in-python-4elp</guid>
      <description>&lt;p&gt;Logging is the process of capturing the flow of code as it executes. Logging helps in debugging the code easily by writing logs. Logs are usually written inside a file, called a log file. This File is used to troubleshoot any problem that occurs during the execution of the program. Logging makes it so much easier to debug the code even when it is in production. In Python, we have a Library named logging that is used to write logs onto a file.&lt;/p&gt;

&lt;p&gt;Read The Complete Article Here. &lt;br&gt;
&lt;a href="https://medium.com/pythoneers/master-logging-in-python-73cd2ff4a7cb"&gt;https://medium.com/pythoneers/master-logging-in-python-73cd2ff4a7cb&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>programming</category>
      <category>development</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Basics Of Natural Language Processing in 10 Minutes</title>
      <dc:creator>Abhay Parashar</dc:creator>
      <pubDate>Sat, 28 Nov 2020 03:40:38 +0000</pubDate>
      <link>https://forem.com/abhayparashar31/basics-of-natural-language-processing-in-10-minutes-5fmg</link>
      <guid>https://forem.com/abhayparashar31/basics-of-natural-language-processing-in-10-minutes-5fmg</guid>
      <description>&lt;p&gt;Hello, there&lt;br&gt;
You are here because you also want to learn natural language processing as quickly as possible, like me.&lt;br&gt;
Let’s start&lt;br&gt;
The first thing we need is to install some dependency&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Python &amp;gt;3.7&lt;br&gt;
&lt;a href="https://www.python.org/downloads/"&gt;Download From Here&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Download an IDE or install Jupyter notebook&lt;br&gt;
To install Jupyter notebook, just open your cmd(terminal) and type pip install &lt;code&gt;jupyter-notebook&lt;/code&gt; after that type &lt;code&gt;jupyter notebook&lt;/code&gt; to run it then you can see that your notebook is open at &lt;code&gt;http://127.0.0.1:8888/token&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Install packages&lt;br&gt;
&lt;code&gt;pip install nltk&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;NLTK: It is a python library that can we used to perform all the NLP tasks(stemming, lemmatization, etc..)&lt;br&gt;
In this blog, we are going to learn about&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Tokenization&lt;/li&gt;
&lt;li&gt;Stopwords&lt;/li&gt;
&lt;li&gt;Stemming&lt;/li&gt;
&lt;li&gt;Lemmatizer&lt;/li&gt;
&lt;li&gt;WordNet&lt;/li&gt;
&lt;li&gt;Part of speech tagging&lt;/li&gt;
&lt;li&gt;Bag of Words
Before learning anything let’s first understand NLP.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Natural Language refers to the way we humans communicate with each other and processing is basically proceeding the data in an understandable form. so we can say that NLP (Natural Language Processing) is a way that helps computers to communicate with humans in their own language.&lt;br&gt;
It is one of the broadest fields in research because there is a huge amount of data out there and from that data, a big amount of data is text data. So when there is so much data available so we need some technique threw which we can process the data and retrieve some useful information from it.&lt;br&gt;
Now, we have an understanding of what is NLP, let’s start understanding each topic one by one.&lt;/p&gt;
&lt;h3&gt;
  
  
  1. Tokenization
&lt;/h3&gt;

&lt;p&gt;Tokenization is the process of dividing the whole text into tokens.&lt;br&gt;
It is mainly of two types:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Word Tokenizer (separated by words)&lt;/li&gt;
&lt;li&gt;Sentence Tokenizer (separated by sentence)
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import nltk
from nltk.tokenize import sent_tokenize,word_tokenize
example_text = "Hello there, how are you doing today? The weather is great today. The sky is blue. python is awsome"
print(sent_tokenize(example_text))
print(word_tokenize(example_text))
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;In the above code&lt;br&gt;
First, we are importing nltk , in the second line, we are importing our tokenizers &lt;code&gt;sent_tokenize,word_tokenize&lt;/code&gt; from library &lt;code&gt;nltk.tokenize&lt;/code&gt; , then to use the tokenizer on a text we just need to pass the text as a parameter in the tokenizer.&lt;br&gt;
The output will look something like this&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;##sent_tokenize (Separated by sentence)
['Hello there, how are you doing today?', 'The weather is great today.', 'The sky is blue.', 'python is awsome']

##word_tokenize (Separated by words)
['Hello', 'there', ',', 'how', 'are', 'you', 'doing', 'today', '?', 'The', 'weather', 'is', 'great', 'today', '.', 'The', 'sky', 'is', 'blue', '.', 'python', 'is', 'awsome']
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. Stopwords
&lt;/h3&gt;

&lt;p&gt;In general stopwords are the words in any language which does not add much meaning to a sentence. In NLP stopwords are those words which are not important in analyzing the data.&lt;br&gt;
Example : he,she,hi,and etc.&lt;/p&gt;

&lt;p&gt;Our main task is to remove all the stopwords for the text to do any further processing.&lt;br&gt;
There are a total of 179 stopwords in English, using NLTK we can see all the stopwords in English.&lt;/p&gt;

&lt;p&gt;We Just need to import stopwords from the library &lt;code&gt;nltk.corpus&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from nltk.corpus import stopwords
print(stopwords.words('english'))
######################
######OUTPUT##########
######################
['i', 'me', 'my', 'myself', 'we', 'our', 'ours', 'ourselves', 'you', "you're", "you've", "you'll", "you'd", 'your', 'yours', 'yourself', 'yourselves', 'he', 'him', 'his', 'himself', 'she', "she's", 'her', 'hers', 'herself', 'it', "it's", 'its', 'itself', 'they', 'them', 'their', 'theirs', 'themselves', 'what', 'which', 'who', 'whom', 'this', 'that', "that'll", 'these', 'those', 'am', 'is', 'are', 'was', 'were', 'be', 'been', 'being', 'have', 'has', 'had', 'having', 'do', 'does', 'did', 'doing', 'a', 'an', 'the', 'and', 'but', 'if', 'or', 'because', 'as', 'until', 'while', 'of', 'at', 'by', 'for', 'with', 'about', 'against', 'between', 'into', 'through', 'during', 'before', 'after', 'above', 'below', 'to', 'from', 'up', 'down', 'in', 'out', 'on', 'off', 'over', 'under', 'again', 'further', 'then', 'once', 'here', 'there', 'when', 'where', 'why', 'how', 'all', 'any', 'both', 'each', 'few', 'more', 'most', 'other', 'some', 'such', 'no', 'nor', 'not', 'only', 'own', 'same', 'so', 'than', 'too', 'very', 's', 't', 'can', 'will', 'just', 'don', "don't", 'should', "should've", 'now', 'd', 'll', 'm', 'o', 're', 've', 'y', 'ain', 'aren', "aren't", 'couldn', "couldn't", 'didn', "didn't", 'doesn', "doesn't", 'hadn', "hadn't", 'hasn', "hasn't", 'haven', "haven't", 'isn', "isn't", 'ma', 'mightn', "mightn't", 'mustn', "mustn't", 'needn', "needn't", 'shan', "shan't", 'shouldn', "shouldn't", 'wasn', "wasn't", 'weren', "weren't", 'won', "won't", 'wouldn', "wouldn't"]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To remove Stopwords for a particular text&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from nltk.corpus import stopwords
text = 'he is a good boy. he is very good in coding'
text = word_tokenize(text)
text_with_no_stopwords = [word for word in text if word not in stopwords.words('english')]
text_with_no_stopwords
##########OUTPUT##########
['good', 'boy', '.', 'good', 'coding']
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  3. Stemming
&lt;/h3&gt;

&lt;p&gt;Stemming is the process of reducing a word to its word stem that affixes to suffixes and prefixes or to the roots of words known as a lemma.&lt;br&gt;
In simple words, we can say that stemming is the process of removing plural and adjectives from the word.&lt;br&gt;
Example :&lt;br&gt;
loved → love, learning →learn&lt;br&gt;
In python, we can implement stemming by using&lt;code&gt;PorterStemmer&lt;/code&gt; . we can import it from the library &lt;code&gt;nltk.stem&lt;/code&gt; .&lt;/p&gt;
&lt;h2&gt;
  
  
  One thing to remember from Stemming is that it works best with single words.
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from nltk.stem import PorterStemmer
ps = PorterStemmer()    ## Creating an object for porterstemmer
example_words = ['earn',"earning","earned","earns"]  ##Example words
for w in example_words:
    print(ps.stem(w))    ##Using ps object stemming the word
##########OUTPUT##########
earn
earn
earn
earn
Here we can see that earning,earned and earns are stem to there lemma or root word earn.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  4. Lemmatizing
&lt;/h3&gt;

&lt;p&gt;Lemmatization usually refers to doing things properly with the use of vocabulary and morphological analysis of words, normally aiming to remove inflectional endings only and to return the base or dictionary form of a word, which is known as the lemma.&lt;br&gt;
In simple words lemmatization does the same work as stemming, the difference is that lemmatization returns a meaningful word.&lt;br&gt;
Example:&lt;br&gt;
Stemming&lt;br&gt;
history → histori&lt;br&gt;
Lemmatizing&lt;br&gt;
history → history&lt;/p&gt;
&lt;h2&gt;
  
  
  It is Mostly used when designing chatbots, Q&amp;amp;A bots, text prediction, etc.
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from nltk.stem import WordNetLemmatizer
lemmatizer = WordNetLemmatizer() ## Create object for lemmatizer
example_words = ['history','formality','changes']
for w in example_words:
    print(lemmatizer.lemmatize(w))

#########OUTPUT############
----Lemmatizer-----
history
formality
change
-----Stemming------
histori
formal
chang
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  5. WordNet
&lt;/h3&gt;

&lt;p&gt;WordNet is the lexical database i.e. dictionary for the English language, specifically designed for natural language processing.&lt;br&gt;
We can use wordnet for finding synonyms and antonyms.&lt;br&gt;
In python, we can import wordnet from &lt;code&gt;nltk.corpus&lt;/code&gt; .&lt;br&gt;
Code For Finding Synonym and antonym for a given word&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from nltk.corpus import wordnet
synonyms = []   ## Creaing an empty list for all the synonyms
antonyms =[]    ## Creaing an empty list for all the antonyms
for syn in wordnet.synsets("happy"): ## Giving word 
    for i in syn.lemmas():        ## Finding the lemma,matching 
        synonyms.append(i.name())  ## appending all the synonyms       
        if i.antonyms():
            antonyms.append(i.antonyms()[0].name()) ## antonyms
print(set(synonyms)) ## Converting them into set for unique values
print(set(antonyms))
#########OUTPUT##########
{'felicitous', 'well-chosen', 'happy', 'glad'}
{'unhappy'}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  6. Part of Speech Tagging
&lt;/h3&gt;

&lt;p&gt;It is a process of converting a sentence to forms — a list of words, a list of tuples (where each tuple is having a form (word, tag)). The tag in the case is a part-of-speech tag and signifies whether the word is a noun, adjective, verb, and so on.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Part of Speech Tag List&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; CC coordinating conjunction
 CD cardinal digit
 DT determiner
 EX existential there (like: “there is” … think of it like “there”)
 FW foreign word
 IN preposition/subordinating conjunction
 JJ adjective ‘big’
 JJR adjective, comparative ‘bigger’
 JJS adjective, superlative ‘biggest’
 LS list marker 1)
 MD modal could, will
 NN noun, singular ‘desk’
 NNS noun plural ‘desks’
 NNP proper noun, singular ‘Harrison’
 NNPS proper noun, plural ‘Americans’
 PDT predeterminer ‘all the kids’
 POS possessive ending parent’s
 PRP personal pronoun I, he, she
 PRP possessive pronoun my, his, hers
 RB adverb very, silently,
 RBR adverb, comparative better
 RBS adverb, superlative best
 RP particle give up
 TO to go ‘to’ the store.
 UH interjection errrrrrrrm
 VB verb, base form take
 VBD verb, past tense took
 VBG verb, gerund/present participle taking
 VBN verb, past participle taken
 VBP verb, sing. present, non-3d take
 VBZ verb, 3rd person sing. present takes
 WDT wh-determiner which
 WP wh-pronoun who, what
 WP possessive wh-pronoun whose
 WRB wh-abverb where, when
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In python, we can do pos tagging using &lt;code&gt;nltk.pos_tag&lt;/code&gt; .&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import nltk
nltk.download('averaged_perceptron_tagger')
sample_text = '''
An sincerity so extremity he additions. Her yet there truth merit. Mrs all projecting favourable now unpleasing. Son law garden chatty temper. Oh children provided to mr elegance marriage strongly. Off can admiration prosperous now devonshire diminution law.
'''
from nltk.tokenize import word_tokenize
words = word_tokenize(sample_text)
print(nltk.pos_tag(words))
################OUTPUT############
[('An', 'DT'), ('sincerity', 'NN'), ('so', 'RB'), ('extremity', 'NN'), ('he', 'PRP'), ('additions', 'VBZ'), ('.', '.'), ('Her', 'PRP$'), ('yet', 'RB'), ('there', 'EX'), ('truth', 'NN'), ('merit', 'NN'), ('.', '.'), ('Mrs', 'NNP'), ('all', 'DT'), ('projecting', 'VBG'), ('favourable', 'JJ'), ('now', 'RB'), ('unpleasing', 'VBG'), ('.', '.'), ('Son', 'NNP'), ('law', 'NN'), ('garden', 'NN'), ('chatty', 'JJ'), ('temper', 'NN'), ('.', '.'), ('Oh', 'UH'), ('children', 'NNS'), ('provided', 'VBD'), ('to', 'TO'), ('mr', 'VB'), ('elegance', 'NN'), ('marriage', 'NN'), ('strongly', 'RB'), ('.', '.'), ('Off', 'CC'), ('can', 'MD'), ('admiration', 'VB'), ('prosperous', 'JJ'), ('now', 'RB'), ('devonshire', 'VBP'), ('diminution', 'NN'), ('law', 'NN'), ('.', '.')]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  7. Bag Of Words
&lt;/h3&gt;

&lt;p&gt;Till now we have understood about tokenizing, stemming, and lemmatizing. all of these are the part of the text cleaning, now after cleaning the text we need to convert the text into some kind of numerical representation called vectors so that we can feed the data to a machine learning model for further processing.&lt;/p&gt;

&lt;p&gt;For converting the data into vectors we make use of some predefined libraries in python.&lt;/p&gt;

&lt;p&gt;Let’s see how vector representation works&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sent1 = he is a good boy
sent2 = she is a good girl
sent3 = boy and girl are good 
        |
        |
  After removal of stopwords , lematization or stemming
sent1 = good boy
sent2 = good girl
sent3 = boy girl good  
        | ### Now we will calculate the frequency for each word by
        |     calculating the occurrence of each word
word  frequency
good     3
boy      2
girl     2
         | ## Then according to their occurrence we assign o or 1 
         |    according to their occurrence in the sentence
         | ## 1 for present and 0 fot not present
         f1  f2   f3
        girl good boy   
sent1    0    1    1     
sent2    1    0    1
sent3    1    1    1
### After this we pass the vector form to machine learning model
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The above process can be done using a CountVectorizer in python, we can import the same from sklearn.feature_extraction.text .&lt;/p&gt;

&lt;h3&gt;
  
  
  CODE to implement &lt;code&gt;CountVectorizer&lt;/code&gt; In python
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import pandas as pd
sent = pd.DataFrame(['he is a good boy', 'she is a good girl', 'boy and girl are good'],columns=['text'])
corpus = []
for i in range(0,3):
    words = sent['text'][i]
    words  = word_tokenize(words)
    texts = [lemmatizer.lemmatize(word) for word in words if word not in set(stopwords.words('english'))]
    text = ' '.join(texts)
    corpus.append(text)
print(corpus)   #### Cleaned Data
from sklearn.feature_extraction.text import CountVectorizer
cv = CountVectorizer() ## Creating Object for CountVectorizer
X = cv.fit_transform(corpus).toarray()
X  ## Vectorize Form 
############OUTPUT##############
['good boy', 'good girl', 'boy girl good']
array([[1, 0, 1],
       [0, 1, 1],
       [1, 1, 1]], dtype=int64)

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;blockquote&gt;
&lt;p&gt;Congratulations 👍, Now you know the basics of NLP&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>machinelearning</category>
      <category>nlp</category>
      <category>python</category>
      <category>datascience</category>
    </item>
  </channel>
</rss>
