← COMP5541 全部讲次
Q01

课堂 Quiz 英文自测|S1-S10

现有材料范围内的非官方复习,含英文术语、成立条件与自拟练习解析。

手机上宽表格可左右滑动;自测答案默认收起,点击题目下方按钮查看。

非官方自拟练习,考试安排与范围以讲师通知为准。 先用英文作答,再逐题展开解析。

测验类型与范围边界

本课这里准备的是 In-class Quiz,不是 Midterm。现有课程信息写明三次课堂测验,共 9%,每次 3%,约 30 分钟、约 20 道二择一判断题。考试安排与范围以讲师通知为准。

Quiz 1 按课表为 10-08,现已过该日期;L03 的 p.4 公告范围 L1+L2+L3。本册保留这部分供查漏。Quiz 2 的准备材料见复习资料与英文自测 3。

文末 20 道英文判断题均为补充·自拟练习。建议每题写 T/F,再写一条理由或反例;这会比只背正误更容易发现 always、only、necessarily 等限定词中的陷阱。

复习资料 · 英文自测 1 · 英文自测 2 · 英文自测 3

英文自测

S1 · KNN terminology

“Non-parametric” means that KNN has no hyperparameters.

S1 · 查看答案与解析

False. “K and the distance metric are design choices; non-parametric does not mean no hyperparameters.” 区分参数化模型假设和算法设置。

S2 · Feature units

Changing one feature from metres to millimetres can change Euclidean nearest neighbours if no compensating scaling is applied.

S2 · 查看答案与解析

True. “Euclidean distance is sensitive to feature scale.” 只改变一维的单位会改变相对权重;不意味着每个具体样本的邻居都一定改变。

S3 · Choosing K

Increasing K always improves the validation accuracy of KNN.

S3 · 查看答案与解析

False. “A larger K can oversmooth the boundary and underfit.” 验证表现不必随 K 单调上升。

S4 · Test set

Repeatedly choosing hyperparameters based on the test set preserves an unbiased final assessment.

S4 · 查看答案与解析

False. “The test set has become part of model selection.” 应保留独立最终评估,不能反复窥看。

S5 · Convexity

Every convex objective has exactly one minimizer.

S5 · 查看答案与解析

False. “Convexity alone does not imply uniqueness.” 常数函数就是反例;严格凸目标若最小值存在,则至多一个最优点。

S6 · Step size

Any positive learning rate guarantees that a gradient descent step decreases the loss.

S6 · 查看答案与解析

False. “An excessively large step can overshoot.” 如 L=w²、w=1、η=2,梯度 2,新 w=−3,损失由 1 升到 9。

S7 · Gradient coefficient

For L=(wx−y)²/2 with x=2, y=1 and w=0, the derivative with respect to w is −2.

S7 · 查看答案与解析

True. (wx−y)x=(0−1)×2=−2。损失中的二分之一约去平方求导的 2;不能再多乘一次。

S8 · L2 derivative

The derivative of λw²/2 with respect to w is λw.

S8 · 查看答案与解析

True. 对 w 求导、λ 固定;若惩罚式写 λw² 则应为 2λw。

S9 · Logistic boundary

For logistic regression on the original input features, threshold p=0.5 corresponds to wᵀx+b=0.

S9 · 查看答案与解析

True. “The sigmoid equals 0.5 exactly when its input is zero.” 结论限定原始特征和该阈值;不是说概率是线性函数。

S10 · Cross-entropy

For sigmoid output p and binary cross-entropy, the derivative with respect to the logit z is p−y.

S10 · 查看答案与解析

True. “The sigmoid derivative combines with the cross-entropy derivative to give p−y.” 更换激活或损失就需重新求导。

下一页 →
Q02 课堂 Quiz 英文自测|S11-S20

个人整理的学习笔记,不是官方材料;数字与结论以课件和讲师为准。