• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 30 pages
Exam (elaborations)

computer science Machine Learning 2

Document preview thumbnail
Preview 3 out of 30 pages

computer science Machine Learning 2

Content preview

1. Which of the following is a key assumption made by the Naive Bayes classifier?

A. The features are correlated with each other

B. The features are independent of each other given the class label

C. The data follows a Gaussian distribution

D. The model uses a non-linear decision boundary

Answer: b) The features are independent of each other given the class label

Rationale: Naive Bayes assumes that all features are conditionally independent given

the class label, which simplifies the computation of probabilities.




2. Which of the following techniques can be used for feature selection?

A. Cross-validation

B. Recursive Feature Elimination (RFE)

C. K-means clustering

D. Dropout

Answer: b) Recursive Feature Elimination (RFE)

Rationale: RFE is a technique used to select important features by recursively

eliminating the least significant features based on model performance.

,3. What does the term "gradient descent" refer to in machine learning?

A. A method to find the optimal hyperparameters of the model

B. An algorithm to minimize the loss function by iteratively adjusting model

parameters

C. A technique to visualize data in a lower-dimensional space

D. A method to reduce overfitting

Answer: b) An algorithm to minimize the loss function by iteratively adjusting model

parameters

Rationale: Gradient descent is an optimization algorithm that adjusts the model’s

parameters to minimize the loss function during training.




4. Which machine learning algorithm is most commonly used for classification

problems?

A. Linear regression

B. Logistic regression

C. K-means

D. Principal Component Analysis (PCA)

Answer: b) Logistic regression

, Rationale: Logistic regression is widely used for binary classification tasks, predicting

categorical outcomes.




5. In machine learning, overfitting occurs when:

A. The model performs well on the training data but poorly on new data.

B. The model performs poorly on both training and testing data.

C. The model performs well on both training and testing data.

D. The model is undertrained.

Answer: a) The model performs well on the training data but poorly on new data.

Rationale: Overfitting happens when a model learns not only the patterns but also the

noise in the training data, leading to poor generalization.




6. What is the "elbow method" used for in machine learning?

A. To find the optimal number of clusters in a clustering algorithm

B. To determine the best value for the learning rate

C. To evaluate the model's performance

D. To decide the best regularization parameter

Answer: a) To find the optimal number of clusters in a clustering algorithm

Document information

Uploaded on
March 16, 2025
Number of pages
30
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$10.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
douglasmugwe82
5.0
(1)
Sold
2
Followers
0
Items
4215
Last sold
1 year ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions