Week 2 Quiz - Neural Network Basics(第二周测验 - 神经网络 基础)
1. What does a neuron compute?(神经元节点计算什么?)
【 】 A neuron computes an activation function followed by a linear function (z = Wx + b)(神经 元节点先计算激活函数,再计算线性函数(z = Wx + b))
【 】 A neuron computes a linear function (z = Wx + b) followed by an activation function(神经 元节点先计算线性函数(z = Wx + b),再计算激活。)
【 】 A neuron computes a function g that scales the input x linearly (Wx + b)(神经元节点计算 函数 g,函数 g 计算(Wx + b))
【 】 A neuron computes the mean of all features before applying the output to an activation function(在 将输出应用于激活函数之前,神经元节点计算所有特征的平均值)
答案
【【★】 A neuron computes a linear function (z = Wx + b) followed by an activation function(神经 元节点先计算线性函数(z = Wx + b),再计算激活。)
Note: The output of a neuron is a = g(Wx + b) where g is the activation function (sigmoid, tanh, ReLU, …).(注:神经元的输出是 a = g(Wx + b),其中 g 是激活函数(sigmoid,tanh, ReLU,…))
Week 2 Code Assignments:
✧Course 1 - 神经网络和深度学习 - 第二周作业 - 具有神经网络思维的Logistic回归
✦assignment2_1:Python Basics with Numpy (optional assignment)
https://github.com/phoenixash520/CS230-Code-assignments/tree/master/第一课第二周编程作业/assignment2
✦assignment2_2:Logistic Regression with a Neural Network mindset
https://github.com/phoenixash520/CS230-Code-assignments/tree/master/第一课第二周编程作业/assignment2