Python Articles

Page 718 of 855

Types Of Activation Functions in ANN

Kalyan Mishra
Kalyan Mishra
Updated on 06-Oct-2023 1K+ 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
Kalyan Mishra
Updated on 06-Oct-2023 766 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
Kalyan Mishra
Updated on 06-Oct-2023 323 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
Kalyan Mishra
Updated on 06-Oct-2023 221 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

Random Replacement of words using Python

Nilesh Kumar
Nilesh Kumar
Updated on 04-Oct-2023 456 Views

Introduction to Random Replacement of Word In this article, we are going to learn about the random replacement of words. Random word replacement means that we will randomly select a word from the input text and replace that word with the word that we will select randomly from the list of strings. This process helps us introduce variation and generates different text versions. As we know python is a free, open-source programming language, which provides us with a range of tools and functionalities by the help of which we could perform random replacement of words. We are going to use ...

Read More

Python - Product and Inter Summation dictionary values

Nilesh Kumar
Nilesh Kumar
Updated on 04-Oct-2023 276 Views

Introduction This article will help us to understand the dictionary and how we can get its values with the help of its key. In Python, the dictionary is a collection of key, value pairs. We are going to learn about calculating the product and summation of dictionary values using the values() method. To calculate the sum of dictionary values we are going to use a loop to traverse through each value present in the dictionary and add it to the result variable(initially which is 0) and keep on updating it with each value until all the values of the dictionary ...

Read More

How to Produce K evenly spaced float values in Python?

Nilesh Kumar
Nilesh Kumar
Updated on 04-Oct-2023 281 Views

Introduction to Produce K evenly spaced float values in Python This article will focus on how to produce k evenly spaced float value using Python. As we know python is an open-source, flexible programming language that offers a huge number of functions for manipulating data and analysis. In this article, we will understand how to produce k evenly spaced float values in Python, where k would be the number of values that has to be printed. The method to find evenly-spaced float values is used in many real-life applications such as in scientific computing, data visualization, and in mathematical operations. ...

Read More

How to Print the Last Word in a sentence using Python?

Nilesh Kumar
Nilesh Kumar
Updated on 04-Oct-2023 1K+ Views

Introduction This article will be focusing mainly on how to print the last word in a sentence using Python. We will be using a simple technique to achieve the task. Python is an open-source, flexible, powerful programming language that provides us with various modules and functionalities that helps us to manipulate strings easily. For printing the last word in a sentence, we will use Python’s built-in string functions. Our approach is that we will first break down the input sentence i.e., given input string into a list of words and access the last element of the list to obtain the ...

Read More

How to Print a Heart Pattern Using Python?

Nilesh Kumar
Nilesh Kumar
Updated on 04-Oct-2023 4K+ Views

Introduction In this article, we are going to focus on how to print a heart pattern using Python. We will look into the syntax of the function that is going to be used in the code. We will also learn about the method definition and the arguments that the method will take and their purpose. As we all know python is an open-source versatile programming language that provides a huge number of modules and functionalities to accomplish our task. with Python's simplicity and readability, we can transform our computer screen into a canvas with just a few lines of code. ...

Read More

Statistical Simulation in Python

Pranay Arora
Pranay Arora
Updated on 04-Oct-2023 1K+ Views

Statistical simulation is the task of making use of computer based methods in order to generate random samples from a probability distribution so that we can model and analyse complex systems which exhibit random behaviour. In this article we are going to see how to make use of this powerful tool in Python to make predictions, generate insights as well as evaluate the performance of statistical algorithms. There are different types of statistical simulations, which are as follows: Monte Carlo simulations − Generation of random samples from a probability distribution in order to estimate the expected value of a ...

Read More
Showing 7171–7180 of 8,549 articles
« Prev 1 716 717 718 719 720 855 Next »
Advertisements