Assess your understanding of essential machine learning concepts, including algorithms, supervised and unsupervised learning, and foundational terms used in ML interviews. This quiz helps learners, candidates, and enthusiasts confirm their knowledge of basic machine learning principles and definitions.
Why was machine learning introduced instead of relying only on hardcoded rules in traditional programming?
Explanation: Machine learning was introduced to enable computers to identify patterns and make predictions from data, moving away from rigid, manually programmed rules. This makes systems more adaptable and scalable. Although speed, automation, and accuracy can improve with ML, none are universally guaranteed—speed and accuracy still depend on multiple factors, and some level of human input is required, especially for setup and monitoring.
Which of the following is not a main type of machine learning algorithm?
Explanation: Supervised, unsupervised, and reinforcement learning are the three core categories of machine learning algorithms. Subversive learning does not exist in the standard types; it is a distractor. While the first three refer to how algorithms receive and use data for learning, 'subversive' is an unrelated or incorrect term in this context.
Which scenario best describes supervised learning in machine learning?
Explanation: Supervised learning involves using labeled data, like previous sales and prices, to train a predictive model. Clustering customers without known labels is unsupervised learning. Trial and error with rewards and penalties refers to reinforcement learning, while analyzing data without direction is not characteristic of supervised learning.
What does the 'naive' in 'Naive Bayes' refer to?
Explanation: The 'naive' in Naive Bayes refers to its assumption that all features are independent, which simplifies calculations. The algorithm does not inherently use neural networks, nor does it mean it can't handle numerical data. While more data can generally improve performance, this is not what 'naive' refers to.
Which statement correctly distinguishes supervised learning from unsupervised learning?
Explanation: Supervised learning algorithms are trained on labeled data, whereas unsupervised learning works with unlabeled data to uncover hidden patterns. Clustering is a primary example of unsupervised, not supervised, learning. Neither supervised nor unsupervised learning is limited to sorting data alphabetically, and unsupervised learning does not always involve prediction.