• 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 3

Document preview thumbnail
Preview 3 out of 30 pages

computer science Machine Learning 3

Content preview

1. Which of the following is true about the "learning rate" in gradient descent?

A. A higher learning rate may lead to faster convergence but could overshoot the

optimal solution.

B. A lower learning rate will result in a model that converges too quickly.

C. The learning rate has no effect on the model's training.

D. The learning rate should always be set to 1 for optimal performance.

Answer: a) A higher learning rate may lead to faster convergence but could overshoot

the optimal solution.

Rationale: A learning rate that's too high may cause the model to skip over the optimal

solution, while a smaller rate ensures gradual convergence but can be slower.




2. What is the purpose of the "dropout" technique in deep learning?

A. To increase the size of the training dataset

B. To reduce overfitting by randomly setting some of the model’s weights to zero

during training

C. To speed up the model training process

D. To normalize the output of the model

,Answer: b) To reduce overfitting by randomly setting some of the model’s weights to

zero during training

Rationale: Dropout helps prevent overfitting by randomly disabling some neurons

during training, forcing the model to learn more robust features.




3. Which of the following is a disadvantage of using decision trees?

A. They are highly interpretable and easy to visualize.

B. They are prone to overfitting, especially with complex trees.

C. They require large amounts of data to perform well.

D. They are not capable of handling numerical data.

Answer: b) They are prone to overfitting, especially with complex trees.

Rationale: Decision trees can easily overfit the training data, especially when the tree

is allowed to grow too deep or complex without pruning.




4. 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

Rationale: The elbow method helps determine the ideal number of clusters in

algorithms like K-means by identifying the point where adding more clusters doesn't

significantly improve the model.




5. Which of the following techniques can be used for dimensionality reduction?

A. K-nearest neighbors

B. Principal Component Analysis (PCA)

C. Decision Trees

D. Logistic Regression

Answer: b) Principal Component Analysis (PCA)

Rationale: PCA is a method for reducing the number of features in a dataset while

preserving as much variance as possible, making it an effective technique for

dimensionality reduction.




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

A. Cross-validation

B. Recursive Feature Elimination (RFE)

C. K-means clustering

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