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

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

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

面试准备

模拟考试

设为首页

收藏此页面

订阅邮箱地址

Artificial Intelligence (AI) 面试题与答案

问题 16. What is the role of a loss function in machine learning?

A loss function measures how well a machine learning model performs by comparing its predictions to the actual values. The goal is to minimize this function during training to improve the model's accuracy.

Example:

Mean Squared Error (MSE) is a common loss function for regression tasks.

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

问题 17. What is the difference between bagging and boosting?

Bagging and boosting are ensemble learning techniques. Bagging involves training multiple independent models on random subsets of the data and combining their predictions. Boosting, on the other hand, focuses on sequentially training models, with each new model correcting errors made by the previous ones.

Example:

Random Forest is an example of a bagging algorithm, while AdaBoost is a boosting algorithm.

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

问题 18. Explain the concept of gradient descent in machine learning.

Gradient descent is an optimization algorithm used to minimize the loss function during model training. It iteratively adjusts the model's parameters in the direction of the steepest decrease in the loss function.

Example:

Adjusting the weights of a neural network to minimize the difference between predicted and actual values.

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

问题 19. What is a generative adversarial network (GAN)?

A Generative Adversarial Network is a type of deep learning model that consists of a generator and a discriminator. The generator creates synthetic data, and the discriminator tries to distinguish between real and generated data. They are trained together in a competitive manner, leading to the generation of realistic data.

Example:

Creating realistic-looking images using a GAN.

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

问题 20. What is the role of a kernel in a support vector machine (SVM)?

A kernel in an SVM is a function that transforms the input data into a higher-dimensional space, making it easier to find a hyperplane that separates different classes. Common kernels include linear, polynomial, and radial basis function (RBF) kernels.

Example:

Using an RBF kernel to classify non-linearly separable data in an SVM.

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

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

版权所有 © 2026,WithoutBook。