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

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

Content preview

1. Which of the following is a technique for handling class imbalance in classification

tasks?

A. Feature engineering

B. Cross-validation

C. Synthetic Minority Over-sampling Technique (SMOTE)

D. Data scaling

Answer: C) Synthetic Minority Over-sampling Technique (SMOTE)

Rationale: SMOTE is a technique to balance the classes by generating synthetic

samples for the minority class.




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




3. Which of the following is used for dimensionality reduction?

A. K-Nearest Neighbors (KNN)

B. Principal Component Analysis (PCA)

C. Naive Bayes

D. Logistic Regression

Answer: B) Principal Component Analysis (PCA)

Rationale: PCA is a technique used to reduce the dimensionality of a dataset while

retaining most of the variance.




4. Which of the following is a type of reinforcement learning?

A. Q-learning

B. K-Nearest Neighbors

C. K-Means Clustering

D. Support Vector Regression

, Answer: A) Q-learning

Rationale: Q-learning is a type of reinforcement learning, where an agent learns to

take actions in an environment to maximize a reward.




5. Which of the following is an example of a non-linear activation function?

A. Sigmoid

B. ReLU (Rectified Linear Unit)

C. Tanh

D. All of the above

Answer: D) All of the above

Rationale: Sigmoid, ReLU, and Tanh are all non-linear activation functions used in

neural networks.




6. Which of the following metrics is used for evaluating the performance of a binary

classification model?

A. Accuracy

B. Mean Absolute Error (MAE)

C. Precision, Recall, and F1-Score

D. R-squared

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