How do residuals, the differences between the observed and predicted values, relate to linear regression?
- They are not relevant in linear regression
- They indicate how well the model fits the data
- They measure the strength of the relationship between predictors
- They represent the sum of squared errors
Residuals in linear regression measure how well the model fits the data. Specifically, they represent the differences between the observed and predicted values. Smaller residuals indicate a better fit, while larger residuals suggest a poorer fit.
In a case where a company wants to detect abnormal patterns in vast amounts of transaction data, which type of neural network model would be particularly beneficial in identifying these anomalies based on data reconstructions?
- Variational Autoencoder
- Long Short-Term Memory (LSTM)
- Feedforward Neural Network
- Restricted Boltzmann Machine
Variational Autoencoders (VAEs) are excellent for anomaly detection because they model data distributions and can recognize deviations from these distributions.
To avoid overfitting in large neural networks, one might employ a technique known as ________, which involves dropping out random neurons during training.
- Batch Normalization
- L2 Regularization
- Gradient Descent
- Dropout
The 'Dropout' technique involves randomly deactivating a fraction of neurons during training, which helps prevent overfitting in large neural networks.
If you're working with high-dimensional data and you want to reduce its dimensionality for visualization without necessarily preserving the global structure, which method would be apt?
- Principal Component Analysis (PCA)
- Linear Discriminant Analysis (LDA)
- t-Distributed Stochastic Neighbor Embedding (t-SNE)
- Independent Component Analysis (ICA)
When you want to reduce high-dimensional data for visualization without preserving global structure, t-SNE is apt. It focuses on local similarities, making it effective for revealing clusters and patterns in the data, even if the global structure is not preserved.
A ________ is a tool in machine learning that helps...
- Feature Extractor
- Principal Component Analysis (PCA)
- Gradient Descent
- Overfitting
Principal Component Analysis (PCA) is a technique used for dimensionality reduction. It identifies and retains important information while reducing the number of input variables in a dataset.
An autoencoder's primary objective is to minimize the difference between the input and the ________.
- Output
- Reconstruction
- Encoding
- Activation
The primary objective of an autoencoder is to minimize the difference between the input and its 'Reconstruction,' which is the encoded-decoded output.
Which regularization technique adds a penalty equivalent to the absolute value of the magnitude of coefficients?
- Elastic Net
- L1 Regularization
- L2 Regularization
- Ridge Regularization
L1 Regularization, also known as Lasso, adds a penalty equivalent to the absolute value of coefficients. This helps in feature selection by encouraging some coefficients to become exactly zero.
Why might it be problematic if a loan approval machine learning model is not transparent and explainable in its decision-making process?
- Increased risk of discrimination
- Enhanced privacy protection
- Improved loan approval process
- Faster decision-making
If a loan approval model is not transparent and explainable, it may lead to increased risks of discrimination, as it becomes unclear why certain applicants were approved or denied loans, potentially violating anti-discrimination laws.
You have a dataset with numerous features, and you suspect that many of them are correlated. Using which technique can you both reduce the dimensionality and tackle multicollinearity?
- Data Imputation
- Decision Trees
- Feature Scaling
- Principal Component Analysis (PCA)
Principal Component Analysis (PCA) can reduce dimensionality by transforming correlated features into a smaller set of uncorrelated variables. It addresses multicollinearity by creating new axes (principal components) where the original variables are no longer correlated, thus improving the model's stability and interpretability.
For the k-NN algorithm, what could be a potential drawback of using a very large value of kk?
- Increased Model Bias
- Increased Model Variance
- Overfitting to Noise
- Slower Training Time
A potential drawback of using a large value of 'k' in k-NN is that it can overfit to noise in the data, leading to reduced accuracy on the test data.