Supervised vs. Unsupervised Learning
Which of the following best describes supervised learning, using the example of classifying emails as 'spam' or 'not spam'?
- It clusters emails based on their text length only.
- It uses labeled data to train the model to classify emails.
- It generates new emails similar to the training data.
- It identifies patterns in emails without using any labels.
- It processes only numeric data and ignores text.
Role of Linear Regression
What is the main purpose of linear regression in machine learning when analyzing a set of points on a graph?
- To perform data duplicition before analysis.
- To increase the number of features automatically.
- To find the best fitting straight line that predicts the relationship between variables.
- To group the points into different clusters based on distance.
- To convert categorical variables into numbers.
Linear Regression Equation
For a linear regression problem with one input feature x and one output y, which equation correctly describes the model?
- y = wx + b
- y = wxy + b
- y = x^2 + c
- y = wx - y
- y = wx + x
Performance Metric for Regression
When evaluating a linear regression model, which metric is commonly used to measure its performance?
- Recall Ratio
- Confussion Metric
- K-means Clustering
- Mean Squared Error
- F1 Scoreing
Purpose of Principal Component Analysis
What is the main purpose of Principal Component Analysis (PCA) when working with a dataset containing many features?
- To reduce the dimensionality of the data while preserving important information.
- To perform text translation automatically.
- To label each data point with a predicted class.
- To generate new output variables unrelated to the input.
- To always increase the number of variables in the dataset.