首先本人一直有一个疑问缠绕了我很久,就是吴恩达老师所讲的机器学习课程里边的逻辑回归这点,使用的是交叉熵损失函数,但是在进行求导推导时,google了很多的课件以及教程都是直接使用的,这个问题困扰了很久,最后了解了在国外的教程中都是默认log就是ln。所以在机器学习中见到log就在脑海中自动转变一下思想他这里说的是ln就这样去理解吧。
How to fit the parameters theta for logistic regression,In particular, I'd like to define the optimization objective or the cost function that we'll use to fit the parameters.
Here's to supervised learning problem of fitting a logistic regression model.
是n+1维的特征向量。