dimple

First component which you needed for deep learning model is data. Data can be of any for like Image, Audio, Video, Tabular, SQL. All data needed to be first divided into three sets which are Trains, Validation and Test sets and need to convert all of them into numerical values because deep learning architecture only understand number. If you have some strings in the data you need to convert to numbers by some mean. After converting to numbers you need to divide your full data into batches of fixed size. Let say you have 6400 items in your training set and you have chosen 64 items to be batches in one. So we have 6400/64=100 batches in your train data set. We divide into batches so that learning can be done faster.

Second component in deep learning is architecture which you need to figure. Basically architecture is made up of layers and each is connecting to one other layers. Each layers contains weights and bias which is learned through training process. All weights and bias numbers should be of appropriate type and amount because if you provide more weights and bias than your model will over fit and provide less than your model will under fit. If provide each batch to architecture which calculates its output and pass to loss function. This calculating and passing of data from architecture to loss function is called FORWARD PASS. Layers which we use in architecture are convolution layers, Recurrent neural network layers, Linear layers Activation function layers which are RELU, Sigmoid, softmax and many more. If you didn't get this layers don't worry we will cover all layers in future posts.

Third component in deep learning is loss function. This is the function which calculate numerical value between the values which is provided by your architecture and labels which you have because of this value a backward pass is done which is given optimizer which updates and rectifies weights and bias through that loss numbers which is provided by this function. This components improve our model to perform well. Good loss function you have your model will be as good . Different used loss function are MSE (Mean Squared Error), binary-cross entropy, Categorical-entropy, Log loss.

in this post we have explore and provide steps to program deep learning model. As its name suggest it is not that difficult to learn or to achieve.

We are Saify technologies a software development company located in india . Who develops custom Web , Mobile applications. We are specialized in Artificial intelligence technology. We have completed many projects on ecommerce with many different technology stacks which includes JAVA, Flutter , PHP, Python , C#,Swift and many more