You are working with a medical dataset to predict a particular disease. What ethical considerations must be taken into account when building and deploying this model?

  • Consider fairness, transparency, privacy, and informed consent
  • Focus only on achieving high accuracy
  • Ignore privacy and consent
  • Ignore the potential biases in the data
Ethical considerations in medical predictions include ensuring fairness (avoiding biases), transparency (explainability), privacy (protecting sensitive information), and obtaining informed consent from the patients.

In what types of applications might clustering be particularly useful?

  • In applications needing labeled data
  • In applications that require continuous prediction
  • In applications that require data grouping and pattern discovery
  • Only in image recognition
Clustering is particularly useful in applications that require discovering underlying patterns and grouping similar data, such as customer segmentation, image segmentation, or anomaly detection.

Can you briefly explain how Eigenvectors are used in PCA?

  • To calculate the mean of the data
  • To cluster the data
  • To determine the direction of maximum variance
  • To normalize the data
Eigenvectors are used in PCA to determine the directions of maximum variance in the data. They define the axes along which the data is projected to form the principal components, preserving most of the information.

You're trying to compare two classification models, and they have the same AUC value but different ROC Curves. What does this tell you, and how would you choose between the models?

  • The models are identical in performance
  • The models perform equally overall but may have different trade-offs at specific thresholds
  • The models perform equally well on positive classes but differently on negative classes
  • nan
Same AUC value means the models perform equally overall, but different ROC Curves indicate that they may have different trade-offs at specific thresholds. The choice between models should depend on the specific needs and priorities of the application.

How does hyperparameter tuning influence the performance of a classification model?

  • Enhances model performance by fine-tuning algorithm parameters
  • Increases computational time but doesn't affect performance
  • Makes the model simpler
  • No influence
Hyperparameter tuning involves finding the optimal hyperparameters (e.g., learning rate, regularization strength) for a given model and data. This fine-tuning process helps in enhancing the model's performance by finding the best configuration for the learning algorithm.

You are implementing LDA, but the assumptions regarding normality and equal covariance matrices are not met. How will this affect the results, and what can be done?

  • LDA will fail completely
  • LDA will require more data to work properly
  • No effect on results; continue as planned
  • Results may be suboptimal; consider validating assumptions or using another method
If the assumptions are not met, the "results may be suboptimal." You should consider validating the assumptions or using a method that does not require these specific assumptions.

You observe that the R-Squared value increases as you add more variables to your regression model, but the Adjusted R-Squared value decreases. What could this imply?

  • Model is becoming more accurate; continue adding variables
  • Model is biased; change the loss function
  • Model is overfitting; remove some variables
  • Model is underfitting; add more significant variables
The observed pattern where R-Squared increases but Adjusted R-Squared decreases implies that the added variables are not contributing meaningful information. R-Squared tends to increase with more variables, but Adjusted R-Squared penalizes for unnecessary complexity. This pattern could be a sign of overfitting, and some variables might need to be removed or the selection process revisited.

In which type of learning do algorithms learn by interacting with an environment to achieve a goal?

  • Reinforcement Learning
  • Semi-supervised Learning
  • Supervised Learning
  • Unsupervised Learning
Reinforcement Learning involves agents that learn by interacting with an environment to achieve a goal, receiving rewards or penalties.

___________ is a popular method for dimensionality reduction that transforms the data into a new coordinate system where the variance is maximized.

  • Feature Selection
  • Linear Discriminant Analysis
  • Principal Component Analysis
  • t-SNE
Principal Component Analysis (PCA) is a method that transforms data into a new coordinate system where the variance is maximized. It's a popular technique for reducing dimensions while preserving as much information as possible in the reduced space.

Can you explain the concept of Semi-Supervised Learning and how it bridges the gap between supervised and unsupervised learning?

  • Combines labeled & unlabeled data
  • Uses only labeled data
  • Uses only unlabeled data
  • Uses rewards and penalties
Semi-Supervised Learning bridges the gap by combining both labeled and unlabeled data, utilizing strengths of both supervised and unsupervised.