In unsupervised learning, the model learns to find patterns and structures from _________ data, where no specific output values are provided.
- Balanced
- Labelled
- Sparse
- Unlabelled
In unsupervised learning, the model learns from unlabeled data, finding hidden patterns and structures without specific output values or guidance.
A machine learning model is suffering from high computational costs and overfitting. How could dimensionality reduction be implemented to solve these problems?
- Add more features
- Apply PCA or LDA, depending on the data type
- Increase the model's complexity
- Reduce the dataset size
Applying dimensionality reduction techniques like PCA or LDA can significantly reduce the feature space and computational costs without losing important information. This can also help in addressing overfitting by simplifying the model, making it less likely to capture noise in the data. Increasing model complexity or adding more features would exacerbate the problem, and reducing the dataset size may lead to loss of information.
How does the choice of Epsilon affect the clustering results in DBSCAN?
- It affects the minimum points in a cluster
- It changes the clustering speed
- It determines the radius of the neighborhood around a point
- It modifies the clustering algorithm's underlying formula
The choice of Epsilon in DBSCAN determines the maximum radius of the neighborhood around a data point. By adjusting this value, one can control how close points must be to form a cluster, affecting the clustering's granularity, shape, and size. It's a crucial parameter to tune for achieving desired clustering results.
The K-Means clustering algorithm iteratively updates the _________ to minimize the sum of squared distances within each cluster.
- Centroids
- Distance metric
- Learning rate
- Number of clusters
The K-Means algorithm works by iteratively updating the centroids, minimizing the sum of squared distances from each point to its assigned centroid, thus forming cohesive clusters.
The R-Squared value can be artificially inflated by adding more predictors, but the ________ helps mitigate this issue.
- Adjusted R-Squared
- MAE
- MSE
- RMSE
The R-Squared value can be artificially increased by adding irrelevant predictors. Adjusted R-Squared helps mitigate this by accounting for the number of predictors, penalizing models for including unnecessary complexity. It provides a more balanced evaluation of the model's fit and helps to avoid the trap of overfitting by adding more predictors.
How does LDA differ from Principal Component Analysis (PCA)?
- LDA and PCA have the same goal and method
- LDA focuses on unsupervised learning while PCA focuses on supervised learning
- LDA is concerned with maximizing between-class variance, while PCA focuses on maximizing total variance
- LDA uses Eigenvalues, while PCA uses Eigenvectors
LDA aims to maximize between-class variance and minimize within-class variance for classification, while PCA focuses on "maximizing total variance" without considering class labels. PCA is used mainly for dimensionality reduction and does not consider class separation.
What are the assumptions that must be met in Simple Linear Regression?
- Homogeneity, Variability, Linearity
- Independence, Homoscedasticity, Linearity, Normality
- Linearity, Categorization, Independence
- Linearity, Quadratic, Exponential
The assumptions in Simple Linear Regression include Independence (of errors), Homoscedasticity (equal variance), Linearity, and Normality (of errors).
Explain the difference between parametric and non-parametric models.
- The ability to update parameters during training
- The flexibility in form
- The number of features used
- The use of hyperparameters
Parametric models assume a specific form for the function they're approximating, such as a linear relationship, and have a fixed number of parameters. Non-parametric models make fewer assumptions about the function's form, often resulting in more flexibility but also requiring more data.
When the assumptions of normality and homogeneity of variances are violated, LDA may provide ___________ results.
- biased
- consistent
- optimal
- suboptimal
If the assumptions of normality and homogeneity of variances are violated, LDA may provide "suboptimal" results, affecting its effectiveness in separating classes.
In K-Means clustering, the initial placement of centroids can be done using the _________ method, among others.
- K-Means++
- Mean Shift
- Random
- Silhouette
The K-Means++ method is commonly used for the initialization of centroids in K-Means clustering. It helps in faster convergence and reduces the risk of local minima by selecting initial centroids in a smarter way.