深度学习
文章平均质量分 86
热心市民Daisy
这个作者很懒,什么都没留下…
展开
-
[deeplearing.ai]1_NeuralNetwork&DeepLearning——Logistic Regression with a Neural Network mindset
Common steps for pre-processing a new dataset are:1. Figure out the dimensions and shapes of the problem(m_train, m_test, num_px, ...)2. Reshape the datasets such that each example is now avector of ...原创 2018-07-11 11:18:23 · 247 阅读 · 0 评论 -
[deeplearning.ai]1_NeuralNetwork&DeepLearning——Planar data classification with one hidden layer
1.Package 导入模块2.Dataset 导入数据3.Neural Network Model神经网络模型1)layer_size(X, Y) --> n_x, n_h, n_y 输入数据返回神经网络每层的节点个数2)initial_parameters(n_x, n_h, n_y) --> parameters(是一个字典,包括了W1,W2,b1,b2)3)forward_pr...原创 2018-07-11 11:57:38 · 224 阅读 · 0 评论 -
[deepleaarning.ai]1_NeuralNetwork&DeepLearning——Building your Deep Neural Network - Step+by+Step
1.Packages:导入模块2.Outline of the Assignment:介绍整体框架3.初始化工作1)2-layer Neural Network:定义一个2层的神经网络,其实就是给个简单的事例,后面不会用到2)L-layer Neural Network:定义一个层网络initialize_parameters_deep(layer_dims) --> parameters ...原创 2018-07-11 14:00:22 · 259 阅读 · 0 评论 -
[deeplearning.ai]2_Improving Deep Neural Networks——Regularization
1 - L2 Regularization# GRADED FUNCTION: compute_cost_with_regularizationdef compute_cost_with_regularization(A3, Y, parameters, lambd): m = Y.shape[1] W1 = parameters["W1"] W2 = paramete...原创 2018-07-11 15:27:36 · 286 阅读 · 0 评论 -
[deeplearning.ai]2_Improving Deep Neural Networks——Gradient Checking
# GRADED FUNCTION: forward_propagationdef forward_propagation(x, theta): """ Implement the linear forward propagation (compute J) presented in Figure 1 (J(theta) = theta * x) """ J ...原创 2018-07-11 16:18:12 · 260 阅读 · 0 评论 -
[deeplearning.ai]2_Improving Deep Neural Networks——Optimization methods
1 - Gradient Descent(Batch) Gradient Descent:X = data_inputY = labelsparameters = initialize_parameters(layers_dims)for i in range(0, num_iterations): # Forward propagation a, caches = forw...原创 2018-07-11 16:43:09 · 219 阅读 · 0 评论 -
[deeplearning.ai]4_Convolutional Neural Networks——Convolution model - Step by Step
Convolution functions, including:Zero PaddingConvolve windowConvolution forwardConvolution backward (optional)Pooling functions, including:Pooling forwardCreate maskDistribute valuePooling backward (o...原创 2018-07-13 13:32:18 · 278 阅读 · 0 评论 -
[deeplearning.ai]4_Convolutional Neural Networks——Keras - Tutorial - Happy House
X_train_orig, Y_train_orig, X_test_orig, Y_test_orig, classes = load_dataset()# Normalize image vectorsX_train = X_train_orig/255.X_test = X_test_orig/255.# ReshapeY_train = Y_train_orig.TY_te...原创 2018-07-13 13:56:30 · 230 阅读 · 0 评论