Q. In classification problems, what does the term 'class label' refer to?
-
A.
The input features of the data
-
B.
The predicted output category
-
C.
The algorithm used for training
-
D.
The evaluation metric
Solution
The class label refers to the predicted output category in classification problems.
Correct Answer:
B
— The predicted output category
Learn More →
Q. What is overfitting in the context of supervised learning?
-
A.
The model performs well on training data but poorly on unseen data
-
B.
The model is too simple to capture the underlying trend
-
C.
The model has too few features
-
D.
The model is trained on too little data
Solution
Overfitting occurs when a model performs well on training data but poorly on unseen data due to excessive complexity.
Correct Answer:
A
— The model performs well on training data but poorly on unseen data
Learn More →
Q. What is the purpose of a confusion matrix in classification tasks?
-
A.
To visualize the training process
-
B.
To summarize the performance of a classification algorithm
-
C.
To reduce overfitting
-
D.
To optimize hyperparameters
Solution
A confusion matrix summarizes the performance of a classification algorithm by showing true vs. predicted classifications.
Correct Answer:
B
— To summarize the performance of a classification algorithm
Learn More →
Q. What is the purpose of a loss function in supervised learning?
-
A.
To measure the performance of the model
-
B.
To optimize the model parameters
-
C.
To define the model architecture
-
D.
To preprocess the input data
Solution
The loss function measures the performance of the model by quantifying the difference between predicted and actual values.
Correct Answer:
A
— To measure the performance of the model
Learn More →
Q. What type of supervised learning task is predicting house prices?
-
A.
Classification
-
B.
Clustering
-
C.
Regression
-
D.
Dimensionality Reduction
Solution
Predicting house prices is a regression task, as it involves predicting a continuous numerical value.
Correct Answer:
C
— Regression
Learn More →
Q. What type of supervised learning task is used to predict categorical outcomes?
-
A.
Regression
-
B.
Classification
-
C.
Clustering
-
D.
Dimensionality Reduction
Solution
Classification is the type of supervised learning task used to predict categorical outcomes.
Correct Answer:
B
— Classification
Learn More →
Q. Which algorithm is typically used for both regression and classification tasks?
-
A.
K-Nearest Neighbors
-
B.
Naive Bayes
-
C.
Random Forest
-
D.
Principal Component Analysis
Solution
Random Forest can be used for both regression and classification tasks, making it versatile.
Correct Answer:
C
— Random Forest
Learn More →
Q. Which algorithm is typically used for multi-class classification problems?
-
A.
Logistic Regression
-
B.
K-Nearest Neighbors
-
C.
Linear Regression
-
D.
Principal Component Analysis
Solution
K-Nearest Neighbors can be used for multi-class classification by assigning the class based on the majority vote of neighbors.
Correct Answer:
B
— K-Nearest Neighbors
Learn More →
Q. Which evaluation metric is commonly used for binary classification?
-
A.
Mean Squared Error
-
B.
Accuracy
-
C.
Silhouette Score
-
D.
R-squared
Solution
Accuracy is a common evaluation metric for binary classification, measuring the proportion of correct predictions.
Correct Answer:
B
— Accuracy
Learn More →
Q. Which of the following is a common algorithm used for regression tasks?
-
A.
K-Means
-
B.
Linear Regression
-
C.
Decision Trees
-
D.
Support Vector Machines
Solution
Linear Regression is a common algorithm used for regression tasks, predicting a continuous output.
Correct Answer:
B
— Linear Regression
Learn More →
Q. Which of the following is NOT a characteristic of supervised learning?
-
A.
Requires labeled data
-
B.
Can be used for both regression and classification
-
C.
Learns from input-output pairs
-
D.
Automatically discovers patterns without supervision
Solution
Supervised learning requires labeled data and does not automatically discover patterns without supervision.
Correct Answer:
D
— Automatically discovers patterns without supervision
Learn More →
Showing 1 to 11 of 11 (1 Pages)