1. Home
  2. Explore
  3. Computer Science
  4. Data-Driven Business with ML

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Data-Driven Business with ML

  • 32Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Algorithm Fundamentals
An algorithm is a set of
or processes for calculations or problem-solving operations by a computer.

32 questions

  1. 1
    An algorithm is a set of
    _____
    or processes for calculations or problem-solving operations by a computer.
    Hint

    Think of instructions that guide a computer step by step.

    Answer

    rules

  2. 2
    A
    _____
    is a high-level language code that is very literal and easy to understand even for non-programmers.
    Hint

    It combines natural language with programming constructs.

    Answer

    pseudocode

  3. 3
    In a flowchart, the diamond shape represents a
    _____
    box where a decision based on true/false or yes/no is made.
    Hint

    It is used for conditional branching in the flow.

    Answer

    decision

  4. 4
    Alan Turing was instrumental in decoding the encrypted
    _____
    messages from Germany during World War II.
    Hint

    It was a famous cipher machine used by Germany.

    Answer

    Enigma

  5. 5
    Machine learning is the ability for a machine to learn without being explicitly programmed, using data to train itself and make
    _____
    on new data.
    Hint

    The goal is to forecast outcomes based on learned patterns.

    Answer

    predictions

  6. 6
    The three main types of machine learning are supervised learning, unsupervised learning, and
    _____
    learning.
    Hint

    This type involves an agent learning from rewards and punishments.

    Answer

    reinforcement

  7. 7
    In supervised learning, the input variables are denoted by
    _____
    and the output variables by Y.
    Hint

    It is the independent variable in the model.

    Answer

    X

  8. 8
    The goal of a supervised learning system is to understand how the output variable Y changes with respect to changes in the
    _____
    variable X.
    Hint

    It is the variable we manipulate or observe.

    Answer

    input

  9. 9
    In supervised learning, we approximate a mapping function to predict new output variables for new
    _____
    data.
    Hint

    Data that the model has not seen before.

    Answer

    input

  10. 10
    In the context of variables, the variable that changes with respect to another is called the
    _____
    variable.
    Hint

    It is influenced by the independent variable.

    Answer

    dependent

  11. 11
    In the gender and exam outcome example, gender is the
    _____
    variable and outcome (pass/fail) is the dependent variable.
    Hint

    It is the presumed cause or predictor.

    Answer

    independent

  12. 12
    In regression, the output variable is a
    _____
    numeric value.
    Hint

    It can take any real number within a range.

    Answer

    continuous

  13. 13
    Logistic regression is used when the dependent variable is
    _____
    in nature, such as binary 0/1.
    Hint

    It represents categories or groups.

    Answer

    categorical

  14. 14
    In logistic regression, the graph of the model produces an
    _____
    shaped curve.
    Hint

    It resembles the letter for sigmoid function.

    Answer

    S

  15. 15
    In classification, the output variable is
    _____
    in nature, such as classifying an animal as a dog or cat.
    Hint

    It assigns data points to discrete classes.

    Answer

    categorical

  16. 16
    In unsupervised learning, the input data has no
    _____
    (labels).
    Hint

    Without this, the algorithm must find structure on its own.

    Answer

    labels

  17. 17
    The process of grouping similar data points in unsupervised learning is called
    _____
    .
    Hint

    It forms natural groupings within data.

    Answer

    clustering

  18. 18
    The most important and simple clustering algorithm is
    _____
    means clustering.
    Hint

    It is named after the number of clusters you want to form.

    Answer

    k

  19. 19
    In k-means clustering, data points within the same cluster should have high
    _____
    similarity.
    Hint

    It means similarity inside a cluster.

    Answer

    intra-cluster

  20. 20
    In k-means clustering, data points in different clusters should have low
    _____
    similarity.
    Hint

    It means similarity between clusters.

    Answer

    inter-cluster

  21. 21
    In k-means clustering, the letter K represents the number of
    _____
    .
    Hint

    It is the target output groups.

    Answer

    clusters

  22. 22
    The
    _____
    method is used to determine the optimal number of clusters in k-means clustering.
    Hint

    It involves plotting WCSS and looking for a bend.

    Answer

    elbow

  23. 23
    In reinforcement learning, the entity that interacts with the environment and learns from rewards is called an
    _____
    .
    Hint

    It is the learner or decision maker.

    Answer

    agent

  24. 24
    In reinforcement learning, the signal that indicates whether an action was correct is called a
    _____
    .
    Hint

    It is positive or negative feedback.

    Answer

    reward

  25. 25
    Reinforcement learning involves mapping states to
    _____
    (actions) to maximize cumulative reward.
    Hint

    These are the decisions the agent makes.

    Answer

    actions

  26. 26
    In the dog training example, the dog giving a handshake leads to a
    _____
    (biscuit) as a reward.
    Hint

    It is the positive reinforcement.

    Answer

    biscuit

  27. 27
    The first demo used
    _____
    clustering on a synthetic dataset with 300 samples and 4 clusters.
    Hint

    It is the algorithm introduced earlier in the video.

    Answer

    k-means

  28. 28
    The second demo used
    _____
    regression to predict heart disease using the Framingham dataset.
    Hint

    It predicts binary outcomes.

    Answer

    logistic

  29. 29
    The Framingham dataset contains data from the town of
    _____
    in Massachusetts.
    Hint

    The dataset is named after this town.

    Answer

    Framingham

  30. 30
    In the logistic regression demo, after removing missing values, about
    _____
    percent of the data was dropped.
    Hint

    It was a small fraction of the dataset.

    Answer

    12

  31. 31
    The model accuracy achieved in the heart disease prediction demo was about
    _____
    percent.
    Hint

    It was just under 90%.

    Answer

    88.14

  32. 32
    The confusion matrix includes metrics like true positive rate, true negative rate, positive prediction rate, and
    _____
    prediction rate.
    Hint

    It complements the positive prediction rate.

    Answer

    negative

1 of 32
Question 1 of 32

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent