Found 32004 Articles for Programming

How does a Python interpreter work?

Swarnava Bhattacharyya
Updated on 24-Mar-2023 13:58:32
What is an Interpreter? The Python interpreter works as a computer converter that converts high-level language to low-level machine language, which is essential for the computer to understand the code written by a programmer. Python codes are executed by an interpreter called CPython, which is written in C language and executes instructions in a block of code one line after another. Steps used Lexing Parsing Creation of byte code Conversion to machine-executable code Returning output Let’s dive into the steps in detail. Step 1: Lexing The first step of analyzing a code block in ... Read More

How to Use cd Command in Bash Scripts

Satish Kumar
Updated on 24-Mar-2023 15:59:40
The cd command is one of most fundamental commands in Bash shell. It is used to change current working directory to a specified location. This command is particularly useful when navigating through file system, especially in situations where you need to access files or directories in a different location. In this article, we will explore how to use cd command in Bash scripts. What is cd Command? Before diving into usage of cd command, it is important to understand what it does. cd command is a built-in command in Bash that is used to change current working directory. When you ... Read More

Region and Edge Based Segmentation

Mithilesh Pradhan
Updated on 23-Mar-2023 17:00:52
Introduction Image Segmentation is the process of dividing a digital image into smaller groups so that processing and analyzing the larger images becomes easier and simpler. Region and Edge-based segmentation are different types of Image Segmentation. Before diving into Region and Edge based Segmentation, let us have a brief overview of how segmentation is done. Image Segmentation In simpler terms, segmentation is the process of assigning specific labels to pixels in an image. A group of pixels with the same label become a segment of the larger image. For example, below are two images with their segmentation. In the ... Read More

Non-Negative Matrix Factorization

Mithilesh Pradhan
Updated on 23-Mar-2023 18:28:36
Introduction Non-Negative Matrix Factorization (NMF) is a supervised algorithm used to represent data into lower dimensions which reduces the number of features while preserving enough basic information to construct the original matrix from the reduced feature space. In this article, we will be going explore more about NMF and how it can be useful. Non-Negative Matrix Factorization NMF is used to reduce the dimensions of the input matrix or corpus. It uses factor analysis which gives less importance to less relevant words. The decomposition of the original matrix(which is a non-negative matrix) thus creates a product of two non-negative coefficients ... Read More

Multilingual Google Meet Summarizer and Python Project

Mithilesh Pradhan
Updated on 23-Mar-2023 16:54:26
Introduction Multilingual Google Meet summarizer is a tool/chrome extension that can create transcriptions for google meet conversations in multiple languages. During the COVID times people, they need a tool that can effectively summarize meetings, classroom lectures, and convection videos. Thus such a tool can be quite useful in this regard. In this article, let us have an overview of the project structure and explore some implementation aspects with the help of code. What this project is all about? This is a simple chrome extension that when enabled during a google meet session can generate meeting transcriptions and summarize the conversation ... Read More

Implementation of Teaching Learning Based Optimization

Mithilesh Pradhan
Updated on 23-Mar-2023 16:48:21
Introduction Teaching Learning Based Optimization (TLBO) is based on the relationship between a teacher and the learners in a class. In a particular class, a teacher imparts knowledge to the students through his/her hard work. The students or learners then interact with each other among themselves and improve their knowledge. Let us explore more about Teacher Learning Based Optimization through this article. What is TLBO? Let us consider a population p (particularly a class) and the number of learners l in the class. There may be decisive variables (subjects from which learners gain knowledge) for the optimization problem. Two modes ... Read More

Implementation of Particle Swarm Optimization

Mithilesh Pradhan
Updated on 23-Mar-2023 16:38:43
Introduction The Particle Swarm Optimization algorithm is inspired by nature and is based on the social behavior of birds in a flock or the behavior of fish and is a population-based algorithm for search. It is a simulation to discover the pattern in which birds fly and their formations and grouping during flying activity. Particle Swarm Optimization Algorithm In the PSO Algorithm, each individual is considered to be a particle in some high-dimensional search space. Inspired by the social and psychological behavior of people, which they tend to copy from other people's success, similar changes are made to the particles ... Read More

Image Segmentation by Clustering

Mithilesh Pradhan
Updated on 23-Mar-2023 16:33:23
Introduction Image Segmentation is the process of partitioning an image into multiple regions based on the characteristics of the pixels in the original image. Clustering is a technique to group similar entities and label them. Thus, for image segmentation using clustering, we can cluster similar pixels using a clustering algorithm and group a particular cluster pixel as a single segment. Thus, let's explore more image segmentation using clustering, Image Segmentation The process of image segmentation by clustering can be carried out using two methods. Agglomerative clustering Divisive clustering In Agglomerative clustering, we label a pixel to a close ... Read More

How to Become an RPA Developer?

Mithilesh Pradhan
Updated on 23-Mar-2023 16:27:03
Introduction RPA stands for Robotic Process Automation. An RPA developer is a person who designs, maintains, builds, and implements RPA systems. In an organization, an RPA developer has the role to create optimized workflow processes and work cross-functionally with operations and business analysts. Scope of an RPA Developer Today the world is moving towards automation where organizations maximum repetitive processes to be automated as much as possible. Thus the demand for highly skilled RPA professionals has gained pace. With the right skill set, RPA developers can fill the in the respective domains. An RPA developer is essentially a software developer ... Read More

Exploratory Data Analysis (EDA) - Types and Tools

Mithilesh Pradhan
Updated on 23-Mar-2023 16:25:51
Introduction Exploratory Data Analysis (EDA) is the process of summarization of a dataset by analyzing it. It is used to investigate a dataset and lay down its characteristics. EDA is a fundamental process in many Data Science or Analysis tasks. Different types of Exploratory Data Analysis There are broadly two categories of EDA Univariate Exploratory Data Analysis – In Univariate Data Analysis we use one variable or feature to determine the characteristics of the dataset. We derive the relationships and distribution of data concerning only one feature or variable. In this category, we have the liberty to use either ... Read More