Hello, I am a new learner of the DLS, and I just with a very basic experience of python and no background of DL when I want to finish my first programming assignment in Week 2, Python Basics with Numpy, Exercise 2 - basic_sigmoid. I just don’t know what the means of the following code want me to do and to test. I just don’t understand the meanings and what to input.
import math
from public_tests import *
GRADED FUNCTION: basic_sigmoid
def basic_sigmoid(x):
“”"
Compute sigmoid of x.
Arguments:
x -- A scalar
Return:
s -- sigmoid(x)
"""
# (≈ 1 line of code)
# s =
# YOUR CODE STARTS HERE
# YOUR CODE ENDS HERE
return s