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

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

Content preview

1. Which of the following is an example of an unsupervised learning technique?

A. Logistic Regression

B. Decision Trees

C. K-Means Clustering

D. Linear Regression

Answer: C) K-Means Clustering

Rationale: K-Means is an unsupervised learning algorithm used for clustering, while

the others are supervised learning algorithms.




2. What is a hyperparameter in machine learning?

A. A parameter that is learned from the training data

B. A parameter set during model training

C. A parameter that controls the model's training process

D. A parameter used to evaluate model performance

Answer: C) A parameter that controls the model's training process

,Rationale: Hyperparameters are parameters set before the training process (e.g.,

learning rate, number of trees in a random forest), which influence the model's

learning.




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




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




5. In the context of decision trees, what does "pruning" refer to?

A. Increasing the tree depth to capture more complex patterns

B. Removing parts of the tree that do not contribute to prediction accuracy

C. Adding more features to the model

D. Dividing the dataset into smaller subsets

Answer: B) Removing parts of the tree that do not contribute to prediction accuracy

Rationale: Pruning helps avoid overfitting by simplifying the tree, removing branches

that have little impact on the model’s accuracy.




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

A. Sigmoid

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