Machine Learning Basics Quiz

  • Question of

    What is the best definition of Machine Learning?

    • A) The process of computers automatically executing a pre-defined set of instructions.
    • B) A field of study that gives computers the ability to learn and improve from experience without being explicitly programmed.
    • C) The practice of manually analyzing large datasets to find patterns.
    • D) A type of programming exclusively used for building websites.

    Correct Wrong

    A field of study that gives computers the ability to learn and improve from experience without being explicitly programmed. This is the core definition coined by Arthur Samuel.

  • Question of

    Which of the following is a common example of a Supervised Learning task?

    • A) Grouping customers into different segments based on their purchase history.
    • B) Reducing a dataset of 100 features down to 3 key features for visualization.
    • C) Training a model to predict house prices based on features like size and location.
    • D) An AI playing a game against itself to improve its strategy.

    Correct Wrong

    Training a model to predict house prices based on features like size and location. This is a classic regression problem (a type of supervised learning) where the model learns from labeled data (houses with known prices)

  • Question of

    What is the term for a model that performs well on the training data but poorly on new, unseen data?

    • A) Underfitting
    • B) Overfitting
    • C) Generalization
    • D) Cross-validation

    Correct Wrong

    Overfitting. This occurs when a model learns the training data too well, including its noise and random fluctuations, and fails to capture the underlying pattern, leading to poor performance on new data.

  • Question of

    In a dataset used to predict whether an email is “spam” or “not spam,” the label (spam/not spam) is known. What type of learning is this?

    • A) Unsupervised Learning
    • B) Supervised Learning
    • C) Reinforcement Learning

    Correct Wrong

    Supervised Learning. Since the model is trained on emails with known labels ("spam" or "not spam"), it is a supervised learning task.

  • Question of

    The task of predicting a category (like “cat” or “dog”) is known as:

    • A) Regression
    • B) Clustering
    • C) Classification

    Correct Wrong

    Classification tasks predict discrete categories or classes.

  • Question of

    What is the primary purpose of splitting a dataset into “training” and “testing” sets?

    • A) To make the dataset larger.
    • B) To ensure the model is trained on all available data.
    • C) To evaluate how well the model will perform on new, unseen data.

    Correct Wrong

    To evaluate how well the model will perform on new, unseen data. The testing set acts as a proxy for real-world data, allowing us to measure the model's ability to generalize.

Share the quiz to view your results!

Check your answers:

This post was created with our nice and easy submission form. Create your post!

What do you think?

Written by Saba Khalil

Leave a Reply

Your email address will not be published. Required fields are marked *

GIPHY App Key not set. Please check settings

Top 5 Machine Learning Libraries Every Beginner Should Master in 2025

How to Visualize Data for Better Machine Learning Results