5 min Recap for Andrew Ng Deep Learning Specialization-Course 2
Week-1 Building a ML model is an iterative process in which multiple models needs to be tried and tested and then deployed. The first first step is to divide the data-set into 3 parts Train Set Hold-out/Cross Validation Set/Dev Set-It is used to iterate between the models and tuning of hyperparameters. Test Set-It is used to give the unbiased performance of the model. If the data is large then data needs to divided in the ratio of 98%,1% and 1% respectively. Dev and Test set needs to come from same distribution If the model is underfitting the data ,if it contains high error rate then it is said to be Have high bias.If it is overfitting the data ,then it is said to be high variance case. The thumb rule for building a ML model is check if it has- High Bias-then build bigger network or train longer High Variance(dev set performance)-Use More data,Use Regularization Regularization Helps to reduce overfitting and hence high variance. Regularization is done by adding following values- The m