Author: admin
-
GET method – Python requests
Requests library is one of the important aspects of Python for making HTTP requests to a specified URL. This article revolves around how one can make GET request to a specified URL using requests.GET() method. Before checking out GET method, let’s figure out what a GET request is – GET Http Method The GET method is used…
-
How to install requests in Python – For windows, linux, mac
Requests is an elegant and simple HTTP library for Python, built for human beings. One of the most famous libraries for python used by developers al over the world. This article revolves around how one can install requests library of python in Windows/ Linux/ macOS, etc. Installation Windows For installing requests in windows, one would…
-
What is Web Scraping and How to Use It?
Suppose you want some information from a website? Let’s say a paragraph on Donald Trump! What do you do? Well, you can copy and paste the information from Wikipedia to your own file. But what if you want to get large amounts of information from a website as quickly as possible? Such as large amounts…
-
Python Requests Tutorial
The Requests library in Python is one of the integral parts of Python for making HTTP requests to a specified URL. Whether it be REST APIs or Web Scraping, requests are a must to be learned for proceeding further with these technologies. When one makes a request to a URI, it returns a response. Python requests provide…
-
Two Dimensional Tensor
Two-dimensional tensor is similar to the two-dimensional metrics. A two-dimensional metrics have n number of rows and n number of columns. Similarly, two-dimensional tensor has n rows and n columns also. A two-dimensional tensor has the following representation A gray scalar image is a two-dimensional matrix of pixels. Each pixel’s intensity denoted by a numeric value…
-
Vector Operations
We know Tensor have different types of dimensions such as zero dimension, one dimension, and multi-dimensional. Vectors are a one-dimensional tensor, and to manipulate them several operations available. Vector operations are of different types such as mathematical operation, dot product, and linspace. Vectors play a vital role in deep learning. In deep learning neural network,…
-
One Dimensional Tensors
As we know, PyTorch has been embraced by Deep learning world for the ability to conveniently define neural network. Neural network is fundamentally structured to sensors, and PyTorch is also built around sensors. There tends to be a significant boost in performance. Vaguely a tensor is a generalization of matrices. 1D-Tensor is similar to 1D- matrix. In one dimensional…
-
Tensors Introduction
Tensors are the key components of Pytorch. We can say PyTorch is wholly based on the Tensors. In mathematics, a rectangular array of number is called metrics. In NumPy library, these metrics called ndaaray. In PyTorch, it is known as Tensor. A tensor is an n-dimensional data container. For example, In PyTorch, 1d-tensor is a…
-
PyTorch vs. TensorFlow
It is required to understand the difference between the PyTorch and TensorFlow for starting a new project. Libraries play a crucial role when developers decide to work in deep learning or machine learning researches. According to a survey, there are 1,616 ML developers and data scientists who are using PyTorch and 3.4 ML developers who are using TensorFlow. We…
-
PyTorch Basics
It is essential to understand all the basic concepts which are required to work with PyTorch. PyTorch is completely based on Tensors. Tensor has operations to perform. Apart from these, there are lots of other concepts which are required to perform the task. Now, understand all the concepts one by one to gain deep knowledge…