INTERVIEW PREP

数学与非代码面试题

覆盖数学、概率、统计、脑筋急转弯、机器学习和金融。这里负责筛选和进入单题;编程题使用独立的 LeetCode 式 coding lab。

题目
4169
领域
8
当前筛选
1721

57 / 87

非代码面试题

显示 20 / 1721 道匹配题目

答题状态:未尝试未正确已正确
4276Within-Cluster Sum of Squares 1A DBSCAN point has 4 neighbors within eps when minPts=5, so it is not core. If eps is increased and the neighborhood count becomes 6, what status change occurs?机器学习中等数值题未尝试面试订阅4277Within-Cluster Sum of Squares 2A 1D cluster has members [0,2,4], so its centroid is 2. If an outlier 10 is added to the cluster, by how much does the centroid shift?机器学习中等数值题未尝试面试订阅4278Within-Cluster Sum of Squares 3A point has silhouette inputs a=3 and b=5. If b falls to 4 while a stays fixed, how much does the silhouette score decrease?机器学习中等数值题未尝试面试订阅4279Within-Cluster Sum of Squares 4In a 2-component GMM with equal priors, component 1 has likelihood 0.2 at x while component 2 has likelihood 0.1, so responsibility 1 is 2/3. If component 2's likelihood rises to 0.2, what does responsibility 1 become?机器学习中等数值题未尝试面试订阅4280Within-Cluster Sum of Squares 5The Euclidean distance between (0,0) and (3,40) is computed on raw features. If the second feature is standardized by dividing it by 10 while the first is unchanged, what new distance do you get?机器学习中等数值题未尝试面试订阅4281Single Linkage Distance 1For single-linkage hierarchical clustering on 1D points 0,1,4 , which pair merges first?机器学习中等数值题未尝试面试订阅4282Complete Linkage Distance 2In DBSCAN with minPts=4, point A has 4 neighbors, point B has 3 neighbors, and B lies within eps of A. What status does B get?机器学习中等数值题未尝试面试订阅4283Average Linkage Distance 3A 2D k-means run has centroids at (0,0) and (4,0). For point x=(1,2), which centroid is closer in the assignment step?机器学习中等数值题未尝试面试订阅4284Single Linkage Distance 4In a 2-component GMM with equal priors, component densities at x are 0.12 and 0.08. Which component gets higher responsibility on the first E-step?机器学习中等数值题未尝试面试订阅4285Average Linkage Distance 5Cluster A has size 3 and mean 0, cluster B has size 1 and mean 2, cluster C has size 1 and mean 5. Under Ward linkage, which pair merges first: A-B or B-C?机器学习中等数值题未尝试面试订阅4291Weight Decay Shrinkage 1A hidden unit has pre-dropout activation 3.2. You apply inverted dropout with keep probability 0.8. If the unit is kept on this training pass, what value is forwarded after dropout?机器学习简单数值题未尝试面试订阅4292Weight Decay Shrinkage 2A 4-class classifier uses label smoothing with epsilon = 0.2, distributing epsilon uniformly across all 4 classes including the true class. If class 3 is the correct label, what smoothed target vector do you train on?机器学习简单数值题未尝试面试订阅4293Weight Decay Shrinkage 3A parameter has current value w = 2.0 and gradient g = 0.3. Using a decoupled weight-decay update w new = (1 - eta*lambda) w - eta*g with eta = 0.1 and lambda = 0.05, what is the updated weight after one step?机器学习简单数值题未尝试面试订阅4294Weight Decay Shrinkage 4A layer weight vector is w = (3, 4), so its norm is 5. You enforce max-norm regularization with cap c = 4 by rescaling only when the norm exceeds c. What vector is stored after clipping?机器学习简单数值题未尝试面试订阅4295Weight Decay Shrinkage 5An optimizer uses the proximal L1 shrinkage step sign(w)*max(|w| - tau, 0). If the pre-step weight is w = 0.7 and tau = 0.2, what weight remains after shrinkage?机器学习简单数值题未尝试面试订阅4296Dropout Noise Level 1Keep eta = 0.1, gradient g = 0.3, and current weight w = 2.0. In the decoupled update w new = (1 - eta*lambda)w - eta*g, lambda rises from 0.05 to 0.10. By how much does the updated weight decrease relative to the old lambda case?机器学习中等数值题未尝试面试订阅4297Dropout Noise Level 2A unit has activation 2.0 before standard dropout, meaning dropped units become 0 and kept units stay at 2.0. If keep probability falls from 0.8 to 0.5, what happens to the expected post-dropout activation?机器学习中等数值题未尝试面试订阅4298Dropout Noise Level 3A 5-class model uses label smoothing with epsilon distributed uniformly across all classes. If epsilon rises from 0.1 to 0.3, by how much does the true-class target change?机器学习中等数值题未尝试面试订阅4300Dropout Noise Level 5A proximal L1 step uses sign(w)*max(|w| - tau, 0). If the pre-step weight is 0.6, what output do you get when tau rises from 0.2 to 0.5?机器学习中等数值题未尝试面试订阅4301Label Smoothing Loss 1Mixup combines one-hot labels for class 1 and class 4 in a 4-class problem with lambda = 0.3 on class 1's example. What mixed target vector is produced?机器学习中等数值题未尝试面试订阅