Sigmoid function

It is important to realize the notational conventions that Prof Ng uses. Here’s thread about when to use * versus dot product.