Python - Medium Articles
Python’s behavior is greatly influenced by its environment variables. One of those variables is PYTHONPATH. It is used to set the path for the user-defined… Read More
We can access the member of one class inside a class using these 2 concepts:  By Composition(Has-A Relation) By Inheritance(Is-A Relation) Here we will study… Read More
psutil is a cross-platform library for retrieving information on running processes and system utilization(CPU, memory, disks, networks, sensors) in Python. The Python script below can… Read More
In this article, we will discuss QR decomposition of a matrix. QR factorization of a matrix is the decomposition of a matrix say ‘A’ into… Read More
While troubleshooting with Internet speed. We need to first check internet bandwidth speed. So, pyspeedtest module test network bandwidth using Speedtest.net servers. So, before starting… Read More
This article aims to share some PyTorch functions that will help you a lot in your deep learning and data science journey. Each function will… Read More
Let us see how to create a white image using NumPy and cv2. A white image has all its pixels as 255. Method 1: Using… Read More
NumPy Or numeric python is a popular library for array manipulation. Since images are just an array of pixels carrying various color codes. NumPy can… Read More
The results of the regression problems are continuous or real values. Some commonly used regression algorithms are Linear Regression and Decision Trees. There are several… Read More
Machine Learning: A computer is able to learn from experience without being explicitly programmed. Machine Learning is one of the top fields to enter currently… Read More
Given two Strings, separated by delim, check if both contain same characters. Input : test_str1 = 'e!e!k!s!g', test_str2 = 'g!e!e!k!s', delim = '!' Output :… Read More
Given a String extract indices of uppercase characters. Input : test_str = ‘GeeKsFoRGeeks’  Output : [0, 3, 5, 7, 8]  Explanation : Returns indices of… Read More
Given a String, extract all the numbers that are percentages. Input : test_str = ‘geeksforgeeks 20% is 100% way to get 200% success’ Output :… Read More
Multithreading in Python can be achieved by using the threading library. For invoking a thread, the caller thread creates a thread object and calls the… Read More
Time series forecast can be used in a wide variety of applications such as Budget Forecasting, Stock Market Analysis, etc. But as useful it is… Read More
Statistics is an important part of Data science projects. We use statical tools whenever we want to make any inference about the population of the… Read More
Given a String Matrix, perform column-wise concatenation of strings, handling variable lists lengths. Input : [[“Gfg”, “good”], [“is”, “for”]] Output : [‘Gfgis’, ‘goodfor’] Explanation : Column wise… Read More
Random numbers are the numbers that cannot be predicted logically and in Numpy we are provided with the module called random module that allows us… Read More
In this article, we will learn how python can be used for creating and managing Amazon Web Services (AWS) such as Elastic Compute Cloud (EC2),… Read More
Images are an easier way to represent the working model. In Machine Learning, Python uses the image data in the format of Height, Width, Channel… Read More