Articles on Trending Technologies

Technical articles with clear explanations and examples

Python Program To Write Your Own atoi()

Prabhdeep Singh
Prabhdeep Singh
Updated on 27-Mar-2026 713 Views

We are given a string that may represent a number and need to convert it into an integer using Python. The atoi() function is used in C programming to convert a string parameter into an integer value if the string is a valid integer, otherwise it shows undefined behavior. Sample Examples Input 1 string S = "9834" Output 9834 Explanation: The string represents a valid number, so we get the same output as an integer. Input 2 string S = "09 uy56" Output ...

Read More

MultiLabel Ranking Metrics - Coverage Error in Machine Learning

Priya Mishra
Priya Mishra
Updated on 27-Mar-2026 527 Views

Evaluating the quality of multi-label models necessitates the use of multi-label ranking metrics. One such metric is Coverage Error, which quantifies a ranking model's ability to cover all relevant labels for a particular instance. Multi-label ranking tasks involve the assignment of multiple relevant labels to a given instance, such as tagging images or categorizing documents. In this article, we delve into the concept of Coverage Error and explore its significance in assessing the effectiveness of multi-label ranking models. What is Coverage Error? Coverage Error is a metric used in machine learning to evaluate multi-label ranking models. It ...

Read More

Making a Captcha Alternative for the Visually Impaired with Machine Learning

Priya Mishra
Priya Mishra
Updated on 27-Mar-2026 286 Views

Visually impaired individuals face significant accessibility challenges when encountering visual-based CAPTCHAs. Machine learning can be utilized to create accessible captcha alternatives for the visually impaired. This article explores an alternative solution for CAPTCHA that harnesses the power of machine learning. By making use of machine learning algorithms and adaptive technologies, we aim to bridge the gap, ensuring equal access and user experience for visually impaired users. Prerequisites Python − Make sure that Python 3.6 or higher is installed on the system. Required Libraries − The program uses the following libraries, ...

Read More

Hyperparameter tuning using GridSearchCV and KerasClassifier

Priya Mishra
Priya Mishra
Updated on 27-Mar-2026 2K+ Views

In the field of machine learning, hyperparameter tuning plays a crucial role in optimizing model performance. One popular technique combines GridSearchCV with KerasClassifier to efficiently explore and identify the best hyperparameters for deep learning models. Understanding Hyperparameters Hyperparameters are model configuration settings that must be specified before training begins, unlike parameters that are learned from data. They define the model's behavior and characteristics, directly influencing performance. Examples include learning rate, batch size, number of hidden layers, and activation functions. The hyperparameter tuning process involves finding optimal values that improve model accuracy, reduce overfitting, and enhance generalization to ...

Read More

How to expand contractions in text processing in NLP?

Priya Mishra
Priya Mishra
Updated on 27-Mar-2026 2K+ Views

Contractions play a significant role in informal writing and speech. In Natural Language Processing (NLP), it is often necessary to expand contractions to improve text understanding and processing. Contractions are shortened versions of words or phrases that combine two words into one. For example, "can't" is a contraction of "cannot, " and "it's" is a contraction of "it is." While contractions are commonly used in everyday communication, they can pose challenges for NLP systems due to their ambiguity and potential loss of context. In this article, we will explore the techniques and challenges associated with expanding contractions in NLP ...

Read More

How to deploy model in Python using TensorFlow Serving?

Priya Mishra
Priya Mishra
Updated on 27-Mar-2026 402 Views

Deploying machine learning models is crucial for making AI applications functional in production environments. TensorFlow Serving provides a robust, high-performance solution for serving trained models efficiently to handle real-time requests. In this article, we will explore how to deploy a TensorFlow model using TensorFlow Serving, from installation to testing the deployed model. What is TensorFlow Serving? TensorFlow Serving is a flexible, high-performance serving system for machine learning models designed for production environments. It allows you to deploy new algorithms and experiments while keeping the same server architecture and APIs. Installation and Setup Installing TensorFlow Serving ...

Read More

Find S Algorithm in Machine Learning

Priya Mishra
Priya Mishra
Updated on 27-Mar-2026 22K+ Views

Machine learning algorithms have revolutionized the way we extract valuable insights and make informed decisions from vast amounts of data. Among the multitude of algorithms, the Find-S algorithm stands out as a fundamental tool in the field. Developed by Tom Mitchell, this pioneering algorithm holds great significance in hypothesis space representation and concept learning. With its simplicity and efficiency, the Find-S algorithm has garnered attention for its ability to discover and generalize patterns from labeled training data. In this article, we delve into the inner workings of the Find-S algorithm, exploring its capabilities and potential applications in modern machine ...

Read More

Python Program to Print the first letter of each word using regex

Rohan Singh
Rohan Singh
Updated on 27-Mar-2026 3K+ Views

Regular expressions (regex) in Python provide powerful pattern-matching capabilities for text manipulation. We can extract the first letter of each word using regex patterns that identify word boundaries. In this article, we will explore different approaches to print the first letter of each word using regex. Regular Expressions Overview Regular expressions are sequences of characters that define search patterns. They are widely used for text processing tasks like validation, extraction, and manipulation. Python's re module provides comprehensive regex functionality. Method 1: Using findall() with Word Boundaries The re.findall() method finds all non-overlapping matches of a pattern ...

Read More

Python Program to Determine the Unicode Code Point at a given index

Rohan Singh
Rohan Singh
Updated on 27-Mar-2026 5K+ Views

A Unicode code point is a unique number that represents a character in the Unicode standard. Unicode supports over 130, 000 characters including letters, symbols, and emojis. Python provides several methods to determine the Unicode code point at a specific index: ord() function, codecs module, unicodedata module, and array module. What is a Unicode Code Point? Every Unicode character has a unique numeric identifier called a code point. Code points are represented in hexadecimal notation with a "U+" prefix followed by a four or more digit hexadecimal number (e.g., U+0065 for 'e'). Method 1: Using ord() Function ...

Read More

Python Program to Compare two strings lexicographically

Rohan Singh
Rohan Singh
Updated on 27-Mar-2026 6K+ Views

We can compare two strings lexicographically in Python using comparison operators like , ==, =. Lexicographic comparison is the process of comparing two strings based on their alphabetical order, similar to how words are arranged in a dictionary. Algorithm A generalized algorithm to compare two strings lexicographically is as follows − Initialize two strings with the values to be compared. Compare the first character of both strings. If they are equal, move to the next character and repeat. If they are not equal, proceed to step 3. Determine which character comes first alphabetically. The string with ...

Read More
Showing 1301–1310 of 61,298 articles
« Prev 1 129 130 131 132 133 6130 Next »
Advertisements