改善深层神经网络:超参数调试、正则化以及优化笔记

前言

课程链接:改善深层神经网络:超参数调试、正则化以及优化
公式绘制 AxMath
部分内容存在引用
欢迎指正文中的各种错误

Train/Dev/Test Sets

clipboard.png

Bias and Varience

截取引用自Understanding the Bias-Variance Tradeoff
Error due to Bias: The error due to bias is taken as the difference between the expected (or average) prediction of our model and the correct value which we are trying to predict. Of course you only have one model so talking about expected or average prediction values might seem a little strange. However, imagine you could repeat the whole model building process more than once: each time you gather new data and run a new analysis creating a new model. Due to randomness in the underlying data sets, the resulting models will have a range of predictions. Bias measures how far off in general these models' predictions are from the correct value.
Error due to Variance: The error due to variance is taken as the variability of a model prediction for a given data point. Again, imagine you can repeat the entire model building process multiple times. The variance is how much the predictions for a given point vary between different realizations of the model.
改善深层神经网络:超参数调试、正则化以及优化笔记_第1张图片

Basic Recipe for Machine Learning

改善深层神经网络:超参数调试、正则化以及优化笔记_第2张图片

Regularization

改善深层神经网络:超参数调试、正则化以及优化笔记_第3张图片

How does Regularization Prevent from Overfitting

改善深层神经网络:超参数调试、正则化以及优化笔记_第4张图片

Inverted Dropout

改善深层神经网络:超参数调试、正则化以及优化笔记_第5张图片

Normalize Inputs

改善深层神经网络:超参数调试、正则化以及优化笔记_第6张图片

Why Normalize Inputs

截取自课程

改善深层神经网络:超参数调试、正则化以及优化笔记_第7张图片

Vanishing/Exploding gradients

clipboard.png

改善深层神经网络:超参数调试、正则化以及优化笔记_第8张图片

Gradient Checking

改善深层神经网络:超参数调试、正则化以及优化笔记_第9张图片

Mini Batch

改善深层神经网络:超参数调试、正则化以及优化笔记_第10张图片

Exponentially weighted averages

改善深层神经网络:超参数调试、正则化以及优化笔记_第11张图片

Gradient Descent with Momentum

改善深层神经网络:超参数调试、正则化以及优化笔记_第12张图片

RMSprop

改善深层神经网络:超参数调试、正则化以及优化笔记_第13张图片

Adam Optimization Algorithm

改善深层神经网络:超参数调试、正则化以及优化笔记_第14张图片

Implementing Batch Norm

改善深层神经网络:超参数调试、正则化以及优化笔记_第15张图片

Adding Batch Norm to a Network

改善深层神经网络:超参数调试、正则化以及优化笔记_第16张图片

Softmax Layer

改善深层神经网络:超参数调试、正则化以及优化笔记_第17张图片

你可能感兴趣的:(机器学习)