Compute the sigmoid of " w.x+b " where the input features are [0.7,0.4,0.5). weights are [0.2,0.3,0.71 and the bias is 0.3.

1 answer

To compute the sigmoid of w.x+b, we need to perform the following steps:

1. Calculate w.x by taking the dot product of the input features and weights:
w.x = 0.7 * 0.2 + 0.4 * 0.3 + 0.5 * 0.71 = 0.14 + 0.12 + 0.355 = 0.615.

2. Add the bias to w.x:
w.x + b = 0.615 + 0.3 = 0.915.

3. Compute the sigmoid of w.x + b using the sigmoid function:
sigmoid(0.915) = 1 / (1 + e^(-0.915)) ≈ 0.714.

Therefore, the sigmoid of "w.x + b" with the given values is approximately 0.714.