HOME
PRIVACY POLICY
ABOUT US

TYPE OF PROBLEMS IN MACHINE LEARNING/DEEP LEARNING

Hypothetically anything in this world can be solved and design through deep learning / machine learning. All those problems which is solved through human can be solved through machine learning because as human machine is also learning through data, But at this stage we don't have that much advancement in this technology due to which we cannot achieve that goal. In machine learning (DL) now recently problems are divided into three main problems type and three if its combination create new problem types. We mainly have classification, Regression and sequence to sequence learning type problems in machine learning (DL). We will discuss all of this three type of problems in details.

For any deep learning problem we need to first figure out in which type of problem that machine learning (DL) problem fits in because architecture is highly dependent on type of problem. We are facing so learning type of problem makes your life easier in developing and decoding architecture for the problem.

CLASSIFICATION

This type of problem we mainly found in supervised learning where we have labelled data. Problem of deep learning where we have to find classes of data given than we assume that type of problem as classification problem. Let say we have 1000 images of dog and cat. We want to classify each images of image in dog or cat category than we will generate model through deep learning and we consider this type of problem in classification type problem. This type of problem we could find in Vision, Audio, Tabular, Text (NLP) amd any where. we have to train our model to classify input in these classes.

In classification problems we generally use Softmax activation function after last layer to get probabilities of each classes. We output same number of output as classes which we want make classification as in our dog vs cat. We will output two number which each one predict probabilities of dog and cat.

In classification problem type we generally use cross entropy to improve our model. In our dog vs cat we would have chosen categarical - crossentropy as a loss function to improve our model.

REGRESSION

This type of problem is also used in supervised learning problem. In this type of problem we need to predict one or multiple continuous variable number which is in FLOAT. Let say we want to predict sales for future by using companies past data. Then here we will train our model based on all data of transaction as input and our companies pattern of business and can predict future sales through that pattern. Regression problem in mainly found tabular data, But any where we want find continuous variable number. We can used methods and tricks which we used in regression. Regression type of problem can be also found in Vision, Audio, Text. In vision we mainly found this problem in bounding boxes problem.

In regression problem we generally use simple linear layer at the end with no activation function so that we can get accurate values. Secondly we always train our model by taking log of dependent variable /Y variable so that model predicts small values. To get actual values we need to take exponentials of that value which we obtain our output is equals to number of dependent variable. In the above case which is one in regression problem we mainly [mean square error ] loss function to improve our model.

SEQUENCE TO SEQUENCE PROBLEM

This type of problem is found when we have variable length input and variable length output and we need to design model like this. This model take variable length input and gives variable length output, like we see in machine translation where input is some language words and machine will output some other language sentences. If we provide lest as " I LOVE YOU " machine will translate to its French sentence " je t'aime " in machine translation from English to French. You can find Sequence to sequence problem type in many domains like Audio to text conversation in speech recognization system. In Image to text system when image contains certain where you want to generate Audio model lets take some Audio in one language. This is mainly used un audio to audio machine translation.

The main idea to solve this problem is to first encode your input to some representation and then pass that encoded representation to neural networks and then decode that representation to other output representation for training purpose you need large labelled data corpose.

CONCLUSION

In this blog we have seen different types of deep learning problem which a machine learning engineer face in its life span, and also gives some of the solution which community adopt when they see such type of problem.

taher AI Professional

Related Posts