https://datascience.stackexchange.com/questions/22470/python-implementation-of-cost-function-in-logistic-regression-why-dot-multiplic
https://www.jianshu.com/p/653c5d618380 (answers )
https://datascience.stackexchange.com/questions/22470/python-implementation-of-cost-function-in-logistic-regression-why-dot-multiplic
https://www.jianshu.com/p/653c5d618380 (answers )