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

Document preview thumbnail
Preview 3 out of 30 pages

computer science Machine Learning 1

Content preview

1. Which of the following is a supervised learning algorithm?

A. K-means

B. Support Vector Machine (SVM)

C. DBSCAN

D. K-medoids

Answer: b) Support Vector Machine (SVM)

Rationale: SVM is a supervised learning algorithm, which means it learns from

labeled data to classify new examples.




2. Which of the following is NOT an example of supervised learning?

A. Linear regression

B. Decision trees

C. K-means clustering

D. Naive Bayes

Answer: c) K-means clustering

Rationale: K-means is an unsupervised learning algorithm, as it works with unlabeled

data to group data into clusters.

,3. 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.




4. Which of the following is an example of an unsupervised learning algorithm?

A. Random Forest

B. K-nearest neighbors

C. K-means clustering

D. Linear regression

Answer: c) K-means clustering

Rationale: K-means clustering is an unsupervised learning algorithm used for

grouping data into clusters without prior labels.

, 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 purpose of cross-validation in machine learning?

A. To improve the performance of the training model

B. To divide the data into training and testing sets

C. To prevent overfitting by evaluating the model on multiple subsets of the data

D. To visualize the training process

Answer: c) To prevent overfitting by evaluating the model on multiple subsets of the

data

Rationale: Cross-validation helps assess the model's performance more reliably by

testing it on different data splits, ensuring it generalizes well.

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