Programming Articles

Page 31 of 2547

Classical NOT Logic Gates with Quantum Circuit using Qiskit in Python

Mukul Latiyan
Mukul Latiyan
Updated on 27-Mar-2026 602 Views

Quantum computing is an emerging field that utilizes the principles of quantum mechanics to perform computations more efficiently than classical computers. Qiskit, a powerful open-source framework, provides a user-friendly platform to develop and execute quantum programs in Python. In this tutorial, we will explore how to implement classical NOT logic gates using quantum circuits with Qiskit. Classical NOT Logic Gate The classical NOT gate, also known as an inverter, is a fundamental logic gate that takes a single input and produces the logical complement of that input. If the input is 0, the output is 1, and vice ...

Read More

Checking if a Value Exists in a DataFrame using \'in\' and \'not in\' Operators in Python Pandas

Mukul Latiyan
Mukul Latiyan
Updated on 27-Mar-2026 5K+ Views

Pandas is a powerful Python library widely used for data manipulation and analysis. When working with DataFrames, it is often necessary to check whether a specific value exists within the dataset. In this tutorial, we will explore how to use the in and not in operators in Pandas to determine the presence or absence of a value in a DataFrame. Checking for a Value Using the "in" Operator The in operator in Python is used to check if a value is present in an iterable object. In the context of Pandas, we can use the in operator with ...

Read More

Building a Recommendation Engine in Python Using the LightFM library

S Vijay Balaji
S Vijay Balaji
Updated on 27-Mar-2026 1K+ Views

Recommendation engines are one of the most popular applications of machine learning in the real world. With the growth of e-commerce, online streaming services, and social media, recommendation engines have become a critical component in providing personalized content and recommendations to users. In this tutorial, we will learn how to build a recommendation engine using the LightFM library. LightFM is a Python library that allows you to build recommender systems with both explicit and implicit feedback, such as ratings or user interactions. It is a hybrid recommender system that can handle both content-based and collaborative filtering approaches. LightFM is ...

Read More

Building a Real-Time Object Detection System with YOLO Algorithm

S Vijay Balaji
S Vijay Balaji
Updated on 27-Mar-2026 1K+ Views

Real-time object detection has become a cornerstone of modern computer vision applications. The YOLO (You Only Look Once) algorithm revolutionized this field by performing object detection in a single forward pass, making it ideal for real-time applications like autonomous vehicles and surveillance systems. YOLO treats object detection as a regression problem, dividing input images into grids and predicting bounding boxes with class probabilities directly. This unified approach achieves impressive speed while maintaining accuracy. Prerequisites and Setup Before building our detection system, we need to install the required libraries. OpenCV provides essential computer vision tools, while we'll use ...

Read More

Building a Question Answering System with Python and BERT

S Vijay Balaji
S Vijay Balaji
Updated on 27-Mar-2026 2K+ Views

In the realm of natural language processing (NLP), question answering systems have gained significant attention and have become an integral part of many applications. These systems are designed to understand human language and provide accurate responses to user queries, mimicking human-like interaction and enhancing user experiences. One such powerful model that has revolutionized the field of NLP is BERT (Bidirectional Encoder Representations from Transformers). Bidirectional Encoder Representations from Transformers, developed by Google, stands as a state-of-the-art NLP model known for its remarkable performance on various NLP tasks, including question answering. BERT's key innovation lies in its ability to capture ...

Read More

Building a Machine Learning Model for Customer Churn Prediction with Python and Scikit-Learn

S Vijay Balaji
S Vijay Balaji
Updated on 27-Mar-2026 815 Views

Customer churn prediction is a critical business challenge that can significantly impact profitability and growth. This article demonstrates how to build a machine learning model using Python and scikit-learn to predict which customers are likely to leave your business. By analyzing historical customer data, we can identify at-risk customers and implement targeted retention strategies. Prerequisites and Setup Before starting, ensure scikit-learn is installed in your Python environment ? pip install scikit-learn pandas numpy Building the Customer Churn Prediction Model We'll create a complete example using synthetic customer data to demonstrate the entire machine ...

Read More

Building a Face Recognition System with Python and the dlib Library

S Vijay Balaji
S Vijay Balaji
Updated on 27-Mar-2026 1K+ Views

Face recognition technology has rapidly evolved in recent years, transforming the way we interact with devices and enhancing security measures. From unlocking smartphones to identifying individuals in surveillance footage, face recognition has become an integral part of many applications. In this tutorial, we will explore how to build a face recognition system using Python and the powerful dlib library. The dlib library is an open-source package that offers comprehensive computer vision and machine learning algorithms. It provides state-of-the-art face detection and recognition capabilities, making it an excellent choice for building robust and accurate face recognition systems. With dlib, we ...

Read More

Building a Data Pre-processing Pipeline with Python and the Pandas Library

S Vijay Balaji
S Vijay Balaji
Updated on 27-Mar-2026 684 Views

In the field of data analysis and machine learning, data preprocessing plays a vital role in preparing raw data for further analysis and model building. Data preprocessing involves a series of steps that clean, transform, and restructure data to make it suitable for analysis. Python, with its powerful libraries and tools, provides an excellent ecosystem for building robust data preprocessing pipelines. One such library is Pandas, a popular data manipulation and analysis library that offers a wide range of functions and methods for working with structured data. In this tutorial, we will delve into the process of building a ...

Read More

Building a Cryptocurrency Trading Bot with Python and the ccxt Library

S Vijay Balaji
S Vijay Balaji
Updated on 27-Mar-2026 6K+ Views

Cryptocurrency trading has become a popular investment option, and many traders are looking to automate their trading strategies with the use of trading bots. In this article, we will explore how to build a cryptocurrency trading bot with Python and the ccxt library. ccxt is a popular library for cryptocurrency trading that provides a unified API for multiple cryptocurrency exchanges. This makes it easy to switch between exchanges and automate trading strategies. We will create a simple trading bot that demonstrates basic trading concepts. Installing the ccxt Library Before we can use the ccxt library, we need ...

Read More

Writing a crontab file in Python using the Plan Module

S Vijay Balaji
S Vijay Balaji
Updated on 27-Mar-2026 204 Views

First, let us understand what a crontab file is. Cron is a software utility that helps us schedule tasks on Unix-based systems. You'll be able to periodically run assigned tasks, for example, automated system backups at the end of the day, auto shutdown, or set mode to DND at a particular time. These "tasks" in cron are usually defined in a file called crontab, which is basically a text file that contains the commands to be executed. Let us now learn how we can write these crontab files in Python using the plan module ? Understanding Cron ...

Read More
Showing 301–310 of 25,469 articles
« Prev 1 29 30 31 32 33 2547 Next »
Advertisements