machine-learning banner

Machine Learning Multiple Choice Questions (MCQs) and Answers

Master Machine Learning with Practice MCQs. Explore our curated collection of Multiple Choice Questions. Ideal for placement and interview preparation, our questions range from basic to advanced, ensuring comprehensive coverage of machine learning concepts. Begin your placement preparation journey now!

Q31

Q31 What is the primary goal of unsupervised learning?

A

To label data

B

To classify data

C

To find patterns in unlabeled data

D

To split data

Q32

Q32 Which of the following is an example of unsupervised learning?

A

Decision Trees

B

K-Means Clustering

C

Linear Regression

D

Logistic Regression

Q33

Q33 What type of data does unsupervised learning work with?

A

Labeled data

B

Unlabeled data

C

Both labeled and unlabeled data

D

Noise data

Q34

Q34 Which task is commonly solved by unsupervised learning?

A

Classification

B

Regression

C

Clustering

D

Time series forecasting

Q35

Q35 Which of the following methods is used for dimensionality reduction in unsupervised learning?

A

K-Means Clustering

B

Principal Component Analysis (PCA)

C

Logistic Regression

D

Support Vector Machines (SVM)

Q36

Q36 What differentiates hierarchical clustering from K-Means clustering?

A

K-Means is faster

B

Hierarchical clustering doesn't require the number of clusters to be specified

C

Hierarchical clustering is always more accurate

D

K-Means works better on large datasets

Q37

Q37 Which function in sklearn is used to implement K-Means clustering?

A

KMeansClustering()

B

KMeans()

C

ClusteringK()

D

cluster_KMeans()

Q38

Q38 Which Python library can be used to perform clustering with DBSCAN?

A

sklearn

B

numpy

C

pandas

D

matplotlib

Q39

Q39 How can you visualize the clusters generated by K-Means in Python using matplotlib?

A

plot_clusters()

B

plt.scatter()

C

cluster_plot()

D

plot_kmeans()

Q40

Q40 A K-Means clustering model creates uneven-sized clusters. What might be the issue?

A

Model overfitting

B

Data distribution

C

Cluster initialization

D

Lack of data

Q41

Q41 A DBSCAN clustering model fails to cluster some points. What could be the reason?

A

Points are too close

B

High density parameter

C

Noise in the data

D

Wrong clustering algorithm

Q42

Q42 K-Means clustering results change with different initializations. What could help resolve this?

A

Random state initialization

B

Lower number of clusters

C

Higher number of features

D

Scaling the data

Q43

Q43 What is the primary goal of regression in machine learning?

A

To classify data

B

To predict continuous values

C

To cluster data

D

To reduce dimensionality

Q44

Q44 Which of the following is an example of a linear regression problem?

A

Predicting the probability of a user clicking on an ad

B

Predicting house prices

C

Classifying emails

D

Detecting fraudulent transactions

Q45

Q45 What is the purpose of the cost function in linear regression?

A

To find clusters in data

B

To minimize the error between predicted and actual values

C

To predict categories

D

To maximize accuracy

Q46

Q46 What is the assumption of linearity in linear regression?

A

The relationship between variables is non-linear

B

The relationship between variables is linear

C

The variables are dependent on each other

D

The data is non-stationary

Q47

Q47 What is multicollinearity in the context of regression models?

A

When predictors are independent

B

When predictors are highly correlated

C

When predictors have missing values

D

When predictors are irrelevant

Q48

Q48 In polynomial regression, what is the degree of the polynomial?

A

The number of data points

B

The number of features

C

The highest power of the predictor variable

D

The number of clusters

Q49

Q49 Which function in sklearn is used for implementing linear regression?

A

lin_reg()

B

LinearRegression()

C

regression()

D

fit_regression()

Q50

Q50 How can you compute the Mean Squared Error (MSE) of a regression model in sklearn?

A

mean_squared_error()

B

calculate_mse()

C

regression_mse()

D

mse_calc()

Q51

Q51 Which library is used for implementing Ridge regression in Python?

A

numpy

B

pandas

C

sklearn

D

matplotlib

Q52

Q52 A linear regression model shows a high R-squared value but low predictive performance on test data. What could be the issue?

A

Overfitting

B

Underfitting

C

Data leakage

D

Insufficient data

Q53

Q53 A regression model shows a high variance but low bias. What might be the issue?

A

Overfitting

B

Underfitting

C

Multicollinearity

D

High-dimensionality

Q54

Q54 A Ridge regression model gives inconsistent results. What could be the cause?

A

Incorrect regularization parameter

B

Too many features

C

Underfitting

D

Wrong cost function

Q55

Q55 What is the goal of classification in machine learning?

A

To cluster data

B

To predict continuous values

C

To categorize data into predefined classes

D

To reduce dimensionality

Q56

Q56 Which of the following is an example of a binary classification problem?

A

Predicting house prices

B

Classifying emails as spam or not

C

Clustering customers

D

Predicting temperature

Q57

Q57 What is the purpose of a confusion matrix in classification problems?

A

To evaluate clustering results

B

To assess classification accuracy

C

To determine data distribution

D

To predict continuous values

Q58

Q58 Which metric is most suitable for imbalanced classification datasets?

A

Accuracy

B

Precision

C

Recall

D

F1-Score

Q59

Q59 What is the key difference between logistic regression and linear regression?

A

Logistic regression is used for classification

B

Linear regression is used for classification

C

Logistic regression predicts continuous values

D

Linear regression uses categorical labels

Q60

Q60 Which of the following algorithms is commonly used for multi-class classification?

A

K-Means

B

Naive Bayes

C

KNN

D

Logistic Regression

ad verticalad vertical
ad