linkedin-skill-assessments-quizzes

AI & Machine Learning Basics Quiz

Q1. What does “AI” stand for?

Explanation: AI refers to machines designed to mimic human intelligence.

Q2. Which of the following is an example of supervised learning?

Explanation: Linear regression is a supervised learning algorithm because it learns from labeled data.

Q3. What is overfitting in machine learning?

Explanation: Overfitting occurs when the model learns noise from the training data instead of general patterns.

Q4. Which of these is a common activation function in neural networks?

Explanation: ReLU (Rectified Linear Unit) is widely used in neural networks as an activation function.

Q5. What is the difference between AI and ML?

Reference: Intro to AI & ML

I’ll analyze the existing quiz and provide two additional questions while maintaining the same format:

Q6. What is Deep Learning?

Explanation: Deep Learning is a specialized subset of machine learning that uses neural networks with multiple (deep) layers to progressively extract higher-level features from raw input. It’s particularly powerful for complex tasks like image and speech recognition.

Source: Deep Learning - MIT Press

Q7. Which of these is NOT a common type of machine learning?

Explanation: While Supervised, Unsupervised, and Reinforcement Learning are the three main types of machine learning, “Perpetual Learning” is not a standard classification. The main categories are:

Source: Types of Machine Learning - Stanford University CS229

Q8. What is the main goal of reinforcement learning?

Explanation: RL agents learn to take actions that maximize cumulative reward through feedback loops.

Reference: Reinforcement Learning - Sutton & Barto

Q9. Which algorithm is commonly used for classification tasks?

Explanation: Decision Trees are popular for classification because they split data based on feature values to predict labels.

Reference: Decision Tree Classifier - Scikit-learn

Q10. What is the purpose of “gradient descent” in training neural networks?

Explanation: Gradient Descent minimizes the loss by updating model parameters opposite to the gradient direction.

Reference: Gradient Descent Explained - Coursera

Q11. In which situation would you most likely use clustering algorithms?

Explanation: Clustering is an unsupervised learning method used to group unlabeled data by similarity.

Q12. What does a confusion matrix show?

Explanation: A confusion matrix summarizes prediction outcomes for classification models.

Q13. What is the purpose of feature scaling?

Explanation: Feature scaling standardizes numerical ranges, helping algorithms like gradient descent converge efficiently.

Q14. What does “bias-variance tradeoff” refer to?

Explanation: Low bias can cause overfitting, while high bias leads to underfitting — good models find balance.

Q15. What metric is best for imbalanced classification problems?

Explanation: F1-Score balances precision and recall, making it ideal for imbalanced datasets.

Q16. What is the main purpose of a validation set?

Explanation: Validation sets help in model selection and hyperparameter tuning before final testing.

Q17. Which algorithm is best suited for dimensionality reduction?

Explanation: PCA transforms high-dimensional data into fewer dimensions while retaining variance.

Q18. Which type of neural network is best for sequence data?

Explanation: RNNs (Recurrent Neural Networks) are designed for sequential inputs like text or time series.

Q19. What is the purpose of regularization in machine learning?

Explanation: Regularization methods like L1/L2 reduce overfitting by constraining model weights.

Q20. Which of the following is NOT a type of ensemble method?

Explanation: Dropout is a regularization technique in neural networks, not an ensemble method.

Q21. What is the main advantage of using cross-validation?

Explanation: Cross-validation uses multiple folds to reduce variance in performance estimates.

Q22. Which statement best describes unsupervised learning?

Explanation: Unsupervised learning discovers hidden structures in unlabeled data.