• 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 29 pages
Exam (elaborations)

Data Science 2

Document preview thumbnail
Preview 3 out of 29 pages

Exam of 29 pages for the course Data science MS at Data science MS (Data Science 2)

Content preview

1. What is the difference between variance and bias in machine learning models?

A. Variance refers to the error introduced by the model's assumptions, while bias

refers to the variability in predictions across different datasets.

B. Variance refers to the error introduced by the model’s assumptions, while bias

refers to the variability of the model’s predictions on the same dataset.

C. Variance refers to the variability of the model's predictions, while bias refers to the

errors caused by oversimplifying the model.

D. There is no difference between variance and bias in machine learning.

Answer: C) Variance refers to the variability of the model's predictions, while bias

refers to the errors caused by oversimplifying the model.

Rationale: High variance indicates that the model is sensitive to fluctuations in the

training data (overfitting), while high bias indicates that the model is too simple and

does not capture the underlying patterns (underfitting).




2. Which of the following algorithms can be used for both regression and

classification tasks?

A. K-Nearest Neighbors (KNN)

,B. Support Vector Machine (SVM)

C. Naive Bayes

D. K-Means Clustering

Answer: B) Support Vector Machine (SVM)

Rationale: SVM can be used for both classification (e.g., SVC - Support Vector

Classification) and regression (e.g., SVR - Support Vector Regression).




3. Which of the following is the best way to handle large datasets in machine

learning?

A. Train the model on a small sample of the data

B. Use a simpler model with fewer features

C. Apply dimensionality reduction techniques

D. Increase the number of iterations in training

Answer: C) Apply dimensionality reduction techniques

Rationale: Dimensionality reduction techniques like PCA help to reduce the size and

complexity of the data, making it easier to handle large datasets.




4. In the context of regression, what does R-squared measure?

A. The accuracy of the predictions

, B. The proportion of variance in the dependent variable that is predictable from the

independent variables

C. The number of outliers in the dataset

D. The mean absolute error of the model

Answer: B) The proportion of variance in the dependent variable that is predictable

from the independent variables

Rationale: R-squared measures how well the independent variables explain the

variability of the dependent variable.




5. Which of the following is not a type of machine learning?

A. Supervised learning

B. Unsupervised learning

C. Reinforcement learning

D. Structured learning

Answer: D) Structured learning

Rationale: Structured learning is not a recognized category of machine learning. The

main types are supervised, unsupervised, and reinforcement learning.




6. What does the term “overfitting” mean in machine learning?

Document information

Uploaded on
March 16, 2025
Number of pages
29
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
4227
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