2. Design the required functions. Let's make two required functions named as "SigMoid" and "Sign Th". First, the functio
Posted: Sun Jul 03, 2022 12:11 pm
2. Design the required functions. Let's make two required functions named as "SigMoid" and "Sign Th". First, the function named as "SigMoid" has one input, "net", and two outputs of "sigmoid function for the given net" and the "derivative of sigmoid function w.r.t.net". As you learned in class, recall that the derivative of sigmoid function is: af (net) Onet -= f(net)(1 — f(net)) And, the function named as "SignTh" has one output of "Out" and two inputs of "Val" an "Th", which are defined by: Out = (1 if Val≥ Th otherwise = {1