Posts

Showing posts from November, 2021

Deep Learning Step5 Back Propagation and Composition Function

Image
Deep Learning Step5   Step 5 Back Propagation   Why We Need Back Propagation? In supervised learning systems, Back Propagation gets minimum value of loss function. Loss function is used to decide optimized hyper parameters which will be described later.   Differentiation of Composition Function  First, we need to know how to do differentiation of composition.  For example, the following functions are ready.   Input Data : x  Function A(), B() ,C()  Output each : a = A(X) , b = B(a) , c = C(b)   Fig.5.1 Forward Propagation  If x is put into A(), you will get a. As well as a is put into B and b into C. This way is called Forward Propagation(Fig.5.1).  If we want value of dC(b)/dx ( c = C(b) = C(B(A(X))) => dc/dx = dC(b)/dx = dC(B(A(X)))/dx) , we can solve this equation like the below. Fig.5.2 Backward Propagation  This data flow in Fig.5.2 is called back propagation because the value of differentiation of dc/dc is g...

Deep Learning Step1 ~ Step4 Introduction and Functions

Image
 Introduction Artificial Intelligence, called AI, is used in various fields today such as automotive, retail and farming industry. AI model is designed by many scientists with AI tools such as PyTorch, TensorFlow and etc. These tools make it easy for us to design AI model which can't be seen inside the tools like a black box. For this reason, it is hard for us to renew AI models that we made. In here, to modify AI model easily or learn how AI works, we're gonna learn to create Deep Learning code like back propagation, forward propagation, loss function, Neural Network. These articles are useful for the person who has a college level of mathematics and learn Python language. Development Environment VS code : latest version  Python : 3.x Numpy : latest version Step 1 about Variables First of all, we' re gonna learn variables as a programing language which are used to store information to be referenced and manipulated in a computer program like in the box below.  ...