热门面试题与答案和在线测试
面向面试准备、在线测试、教程与实战练习的学习平台

通过聚焦学习路径、模拟测试和面试实战内容持续提升技能。

WithoutBook 将分主题面试题、在线练习测试、教程和对比指南整合到一个响应式学习空间中。

面试准备

模拟考试

设为首页

收藏此页面

订阅邮箱地址

Machine Learning 面试题与答案

Test your skills through the online practice test: Machine Learning Quiz Online Practice Test

问题 11. Explain the difference between batch gradient descent and stochastic gradient descent.

Batch gradient descent updates the model parameters using the entire dataset, while stochastic gradient descent updates the parameters using one randomly selected data point at a time. Mini-batch gradient descent is a compromise, using a small subset of the data for each update.

这有帮助吗? 添加评论 查看评论
 

问题 12. What is the purpose of regularization in machine learning?

Regularization is used to prevent overfitting in machine learning models by adding a penalty term to the cost function. It discourages the model from fitting the training data too closely and encourages generalization to new, unseen data.

这有帮助吗? 添加评论 查看评论
 

问题 13. Explain the K-nearest neighbors (KNN) algorithm.

KNN is a simple, instance-based learning algorithm used for classification and regression. It classifies a new data point based on the majority class of its k-nearest neighbors in the feature space.

这有帮助吗? 添加评论 查看评论
 

问题 14. What is the difference between L1 and L2 regularization?

L1 regularization adds the absolute values of the coefficients to the cost function, encouraging sparsity, while L2 regularization adds the squared values, penalizing large coefficients. L1 tends to produce sparse models, while L2 prevents extreme values in the coefficients.

这有帮助吗? 添加评论 查看评论
 

问题 15. What is the ROC curve, and what does it represent?

The Receiver Operating Characteristic (ROC) curve is a graphical representation of a binary classification model's performance across different thresholds. It plots the true positive rate against the false positive rate, helping to assess the trade-off between sensitivity and specificity.

这有帮助吗? 添加评论 查看评论
 

用户评价最有帮助的内容:

版权所有 © 2026,WithoutBook。