Given X, want parameters: We use sigmoid function: 出自吴恩达课程https://www.coursera.org/learn/neural-networks-deep-learning/lecture/5sdh6/logistic-regression-gradient-descent