menu

Python for Data Science and Machine Learning


1. Which of the following is a method for reducing overfitting in machine learning?

Regularization

Gradient descent

Lasso regression

None of the above


2. Which of the following is a method for reducing dimensionality in machine learning?

PCA

K-means clustering

Gradient descent

None of the above


3. Which of the following is a technique for imbalanced classification problems?

SMOTE

Gradient descent

Lasso regularization

None of the above


4. Which of the following is a method for feature scaling in machine learning?

Standardization

Normalization

Log transformation

All of the above


5. Which of the following is a type of unsupervised learning in machine learning?

Decision tree

Linear regression

K-means clustering

None of the above


6.

Which library in Python is commonly used for numerical computing and data analysis?

NumPy

Matplotlib

Scikit-learn

TensorFlow


7. What is the purpose of Pandas library in Python?

Data visualization

Data analysis

Deep learning

Machine learning


8. Which library in Python is used for visualization of data?

Pandas

NumPy

Matplotlib

Scikit-learn


9. Which of the following is a Python library for visualization in machine learning?

NumPy

Pandas

Seaborn

Scikit-learn


10. Which of the following algorithms is used for clustering in machine learning?

Decision tree

Random forest

K-means

Logistic regression