Building a Simple Neural Network with PyTorch

In this blog post, we will walk through the process of coding a simple fully connected neural network using the PyTorch framework. We will explain each step and build the basic architecture of the network. The goal of this network is to classify handwritten digits from the MNIST dataset. Let's start by importing the necessary … Continue reading Building a Simple Neural Network with PyTorch

Decode some Deep Learning phrases

Gradient ClippingGradient CheckpointingGradient RollbackGradient Accumulation Gradient ClippingGradient clipping is a technique to prevent exploding gradients in very deep networks, usually in recurrent neural networks. A neural network is a learning algorithm, also called neural network or neural net, that uses a network of functions to understand and translate data input into a specific output.With gradient … Continue reading Decode some Deep Learning phrases

How to share variables between two different Jupyter notebooks ?

Let’s say we have two Jupyter notebooks and we need to share a variable from first notebook to the second notebook. How can we do that? Jupyter provides magic commands to ease operations which are complex otherwise. The magic command we are going to use today is %store. The %store magic command saves the specified … Continue reading How to share variables between two different Jupyter notebooks ?

Basic Elements of Linear Regression Model

Linear regression may be both the simplest and most popular among the standard tools to regression.Dating back to the dawn of the 19th century, linear regression flows from a few simpleassumptions. First, we assume that the relationship between the independent variables x and thedependent variable y is linear, i.e., that y can be expressed as … Continue reading Basic Elements of Linear Regression Model