Found 26504 Articles for Server Side Programming

Types Of Activation Functions in ANN

Kalyan Mishra
Updated on 06-Oct-2023 16:13:43

933 Views

This article we will learn about ANN and its types. We will also see programs on different types of Activation. Before diving into the types let's get to know what ANN is. ANN Artificial neural network (ANN) is a branch of machine learning which performs computation by forming a structure of biological neural network where each neuron can transmit the signal or processed data to other connected neurons. This structure is similar to the human brain in which neurons are interconnected to each other. Neural network is created when a connection of nodes or neurons forms a connection. Artificial ... Read More

Image Classification using Google\'s Teachable Machine

Kalyan Mishra
Updated on 06-Oct-2023 16:11:14

590 Views

In this article you will learn about machine learning, image classification and how to use the googles teachable machine for training the models. Machine learning Machine learning is a subset of AI (artificial intelligence) which is used to develop the models and algorithms using which we can make our computers learn and make the decision without programming it explicitly. This is an effective way to teach machines to learn from the given data and improve the performance by time. Computers can learn the task and make predictions or find any pattern using data which shows the scenario about what we ... Read More

Role of Text to text Transfer Transformer in Data Augmentation

Kalyan Mishra
Updated on 06-Oct-2023 16:10:23

227 Views

In this article we will learn about the role of Text to text Transfer Transformer technique in Data Augmentation and how we can use this technique to improve the NLP model. In the current tech scenario Natural Language Processing has observed very rapid advancement in data augmentation field. Data Augmentation is used to improve the performance of model which is based on natural language processing (NLP). There are many techniques available using which we can achieve this in which one technique is Text to Text Transfer Transformer(T5) technique. We can use this technique for performing multiple NLP tasks by using ... Read More

Python - Uneven Sized Matrix Column Product

Kalyan Mishra
Updated on 06-Oct-2023 16:08:31

145 Views

In this article we will learn about various methods using which we can find products of uneven size matrix columns. Working with matrices is very common for fields like data analysis, machine learning, so there can be situations where we have to find the matrix column product which can be a challenging task. Let’s see some examples for finding the uneven size matrix column product − Method 1: Using a Simple Loop In this method we will use the concept of simple nested loop and we will iterate through the matrix column and compute their products. Example def col_product_loop(mat): ... Read More

Sorting a Vector of Numeric Strings in Ascending Order

Esha Thakur
Updated on 06-Oct-2023 11:47:34

675 Views

In this article, we'll examine a C++ procedure for ascendingly sorting an array of numerical string values. Sorting is a basic operation that entails organizing elements in a predetermined order. Because they are character-based strings that represent numbers, and these numerical strings provide a special set of challenges when it is related to sorting. The issue statement, a method and algorithm for solving it, a C++ implementation, a complexity reasoning of the provided approach, and a summary of the main points will all be covered. Problem Statement Consider a vector containing numerical strings, the aim is to arrange them in ... Read More

Implementing PCA in Python with scikit-learn

Someswar Pal
Updated on 05-Oct-2023 15:57:13

592 Views

Introduction Extraction of useful information from high-dimensional datasets is made easier by Principal component analysis, (PCA) a popular dimensionality reduction method. It does this by re-projecting data onto a different axis, where the highest variance can be captured. The complexity of the dataset is reduced while its basic structure is preserved by PCA. It helps with things like feature selection, data compression, and noise reduction in data analysis, and it can even reduce the dimensionality of the data being analyzed. Image processing, bioinformatics, economics, and the social sciences are just a few of the places PCA has been put to use. ... Read More

Maximum count of unique index 10 or 01 substrings in given Binary string

Shubham Vora
Updated on 05-Oct-2023 13:00:47

201 Views

In this problem, we will count the maximum number of 10 and 01 pairs that can be formed using the given binary string. To solve the problem, we can check the number of 10 and 01 pairs we can form using adjacent characters without sharing any characters in two pairs. Problem Statement We have given a bin_str binary string. We need to count the maximum number of 10 and 01 pairs we can make using the adjacent characters only. Also, we can use one character in any single pair. Two pairs can't share a single character. Sample Examples Input ... Read More

Find index of pair among given pairs with just greater average

Shubham Vora
Updated on 05-Oct-2023 12:55:38

119 Views

In this problem, we will find the index value for each pair such that the resultant pair's average value is just greater than the current pair's average value. To solve the problem, we will use the sorting algorithm and binary search technique. We will use a sorting algorithm to sort the array based on the pair's average value and a binary search algorithm to search a pair with a greater average value from the sorted array. Problem Statement We have given a pairs[] array containing the N pairs of positive integers. It is also given that the first element of ... Read More

Count unique Strings by replacing Consonant with closest vowel and vice versa

Shubham Vora
Updated on 05-Oct-2023 12:51:25

125 Views

In this problem, we will count the number of unique strings we can generate by replacing each vowel with the closest consonant and each consonant with the closest vowel. We can find the number of choices for each character of the string to replace the current character with other characters. After that, we can multiply the number of choices of each character to get the answer. Problem Statement We have given an alpha string. We need to count the total number of different strings we can generate from the given string by performing the below operations on each character of ... Read More

Can String be considered as a Keyword?

Shubham Vora
Updated on 05-Oct-2023 12:50:26

263 Views

Keywords are important in any programming language, as they are reserved words with a particular predefined meaning. The keywords are used to define the variables, function, and class, change the program's control flow, traverse the list, etc. When we talk about the 'String', it is a fundamental data type to represent a series of characters. Some programming languages refer to the 'String' as a class, and some programming languages refer to the 'String' as a keyword. In this tutorial, we will explore the use of the 'String' word in the programming language. C/C++ The C or C++ programming languages are ... Read More

Advertisements