摘要: The Problem of Overfitting 如果有太多的 features,假设可能与训练数据太匹配了以致于预测未来的数据不准确。如下图: 解决 overfitting 1. 既然是由太多的 features 引起的,那么就排除一些 features 2. Regularization 不 阅读全文
posted @ 2017-09-01 11:35 Jay54520 阅读(309) 评论(0) 推荐(0) 编辑
摘要: Matrix 定义及基本运算 Transposing To "transpose" a matrix, swap the rows and columns. We put a "T" in the top right-hand corner to mean transpose: Inverse of 阅读全文
posted @ 2017-08-30 11:33 Jay54520 阅读(281) 评论(0) 推荐(0) 编辑
摘要: Classification 使用线性回归来分类,会很不准确。并且,它的范围也会超出 {0, 1}。所以使用下面的逻辑回归模型。 Hypothesis representation 线性回归中 hθ(x) = θTx,而在逻辑回归中,我们想要 hθ(x) ∈ [0, 1]。对结果进行双曲化处理: , 阅读全文
posted @ 2017-08-22 12:14 Jay54520 阅读(562) 评论(0) 推荐(0) 编辑
摘要: 3. % J = COMPUTECOST(X, y, theta) computes the cost of using theta as the % parameter for linear regression to fit the data points in X and y 传入的参数的 s 阅读全文
posted @ 2017-08-11 21:43 Jay54520 阅读(466) 评论(0) 推荐(0) 编辑
摘要: Multiple Features 上一章中,hθ(x) = θ0 + θ1x,表示只有一个 feature。现在,有多个 features,所以 hθ(x) = θ0 + θ1x1 + θ2x2 + ... + θjxj。为了标记的方便,增加 x0 = 1 用向量表示 这里的 X 表示单行 Xi。 阅读全文
posted @ 2017-08-08 14:20 Jay54520 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 根据 rubic 打分。 1. 我认为,如果说明 m, n 是自然数,所以最小值是 1 会更清楚。所以 Clarity 我给了 3 分。其他都是 4 分,所以一共是 23 分。 2. 我给出的分数 0 + 4 + 4 + 4 + 4 + 0。 明显可以看出是计算错误,但由于目前是考察数学思考,并不需 阅读全文
posted @ 2017-07-26 10:03 Jay54520 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 错题 评分出错 题目要求的是 "any" ,而答案只给出了一个。所以认为回答者没有理解题意,连 any 都没有理解。所以 0 分。 第一,标准的归纳法只能对自然数使用,而题目要求的是所有整数,所以使用标准归纳法是错误的; 第二,使用标准归纳法,证明 (n+1) 成立时错误,原因是没有使用假设 n 成 阅读全文
posted @ 2017-07-21 10:23 Jay54520 阅读(274) 评论(0) 推荐(0) 编辑
摘要: At a high level, configuring NGINX Plus as a web server is a matter of defining which URLs it handles and how it processes HTTP requests for resources 阅读全文
posted @ 2017-06-26 15:45 Jay54520 阅读(283) 评论(0) 推荐(0) 编辑
摘要: Q: Why did nineteenth century mathematicians devote time to the proof of self-evident results? Select the best answer. A: To gain mastery of, and conf 阅读全文
posted @ 2017-06-26 10:11 Jay54520 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 异步编程 预习 lambda Lambda functions can be used wherever function objects are required. They are syntactically restricted to a single expression. Semantic 阅读全文
posted @ 2017-06-15 12:43 Jay54520 阅读(755) 评论(0) 推荐(0) 编辑