Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有专业知识的人可以解释如何从给定的具有截距 X 的自变量矩阵和具有 m 行和 n 列具有 n theta 参数的因变量矩阵推导出以下多元线性回归的向量化格式吗?在 Andrew Ng 课程中,我对这个和非矢量化成本函数是如何相同的有点迷失了?
啊! 我想我得到了答案。我忘记了正在发生的事情是函数错误部分中的向量平方。因此它是vector.vector的转置。仍然无法理解 X 是如何用上述定义中所有自变量的转置来定义的,因为我相信它是一个因变量矩阵,包括截距。