1. Home
  2. Explore
  3. Computer Science
  4. Machine Learning Basics

Study methods

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

Machine Learning Basics

  • 54Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Data Science Introduction
Data science is an interdisciplinary field that extracts knowledge or insights from data in various forms, either structured or
.

54 questions

  1. 1
    Data science is an interdisciplinary field that extracts knowledge or insights from data in various forms, either structured or
    _____
    .
    Hint

    Think about data that doesn't have a predefined format.

    Answer

    unstructured

  2. 2
    According to a McKinsey report, the United States alone faces a shortage of 140,000 to 190,000 people with deep analytical expertise and
    _____
    million managers and analysts with the skills to understand and make decisions based on big data analysis.
    Hint

    The number is in millions and represents a significant management gap.

    Answer

    1.5

  3. 3
    Machine learning is an application of
    _____
    that provides systems the ability to automatically learn and improve from experience without being explicitly programmed.
    Hint

    This field aims to create intelligent systems that can learn.

    Answer

    artificial intelligence

  4. 4
    In traditional programming, the computer takes data and a program to generate output, whereas in machine learning, the computer takes data and a predicted output to create a
    _____
    .
    Hint

    This is the learned representation that can be used for predictions.

    Answer

    model

  5. 5
    Google Maps uses a combination of people currently using the service, historic data of a route collected over time, and tricks acquired from other companies to provide traffic predictions and route optimization; this is an application of
    _____
    .
    Hint

    This technology enables the system to learn from data and improve over time.

    Answer

    machine learning

  6. 6
    Facebook uses
    _____
    detection and image recognition to automatically find faces matching its database and suggest tags.
    Hint

    The technology identifies human faces in images.

    Answer

    face

  7. 7
    In transportation and commuting, apps like Uber use machine learning to provide personalized applications and make more accurate
    _____
    predictions.
    Hint

    This stands for the estimated time of arrival.

    Answer

    ETA

  8. 8
    Virtual personal assistants use machine learning for speech recognition, speech-to-text conversion, natural language processing, and
    _____
    conversion.
    Hint

    This is the reverse of speech-to-text.

    Answer

    text-to-speech

  9. 9
    Product recommendation systems, like those used by Amazon, generate
    _____
    of Amazon's revenue.
    Hint

    This is the percentage of revenue attributed to recommendations.

    Answer

    35%

  10. 10
    Self-driving cars, such as those by Tesla, use unsupervised learning algorithms and deep learning, sourcing data from other vehicles and drivers; the technology is driven by the manufacturer
    _____
    .
    Hint

    This company produces high-performance AI hardware.

    Answer

    Nvidia

  11. 11
    Google Neural Machine Translation (GNMT) uses neural machine learning and natural language processing to provide accurate translations; it also uses techniques like POS tagging, named entity recognition, and
    _____
    .
    Hint

    This technique groups words into meaningful phrases.

    Answer

    chunking

  12. 12
    Dynamic pricing, as used by Uber, employs a machine learning model named
    _____
    to determine surge pricing.
    Hint

    This model takes into account location and demand.

    Answer

    geo search

  13. 13
    Netflix collects massive amounts of data about user activities, such as when you pause, rewind, fast-forward, and what you watch on weekdays versus weekends; they use this data with a
    _____
    system to retain subscribers.
    Hint

    This system suggests content based on user preferences.

    Answer

    recommender

  14. 14
    The growth of machine learning in the market around 2016 was largely due to the increase in big data and the availability of
    _____
    to support the power needed for machine learning programs.
    Hint

    This refers to the physical components that process data.

    Answer

    hardware

  15. 15
    The first step in a typical machine learning lifecycle is
    _____
    .
    Hint

    This involves gathering all relevant data from various sources.

    Answer

    collecting data

  16. 16
    Data wrangling is the process of cleaning and converting
    _____
    data into a format suitable for consumption.
    Hint

    This type of data is often messy and needs preprocessing.

    Answer

    raw

  17. 17
    In the data analysis step of the ML lifecycle, data is analyzed to select and filter the data required to create a
    _____
    .
    Hint

    This is the learned representation that will be used for predictions.

    Answer

    model

  18. 18
    During the training step, the algorithm is trained on a training dataset through which it understands the patterns and
    _____
    that govern the data.
    Hint

    These are the underlying relationships in the data.

    Answer

    rules

  19. 19
    The testing step uses a testing dataset to determine the
    _____
    of the model.
    Hint

    This metric measures how well the model performs on unseen data.

    Answer

    accuracy

  20. 20
    After deployment, if there is a dip in performance, the model is
    _____
    .
    Hint

    This involves updating the model with new data to improve performance.

    Answer

    retrained

  21. 21
    The Python library
    _____
    is used for data visualization, including bar charts, scatter plots, line charts, and histograms.
    Hint

    This library is widely used for 2D plotting.

    Answer

    matplotlib

  22. 22
    Seaborn is a Python library focused on the visuals of statistical models, including heat maps and overall
    _____
    .
    Hint

    This shows how data is spread across different values.

    Answer

    distributions

  23. 23
    Scikit-learn is a simple and efficient Python library for data mining and data analysis, built on numpy and
    _____
    .
    Hint

    This library is also used for visualization and is part of the scientific Python stack.

    Answer

    matplotlib

  24. 24
    The Python library
    _____
    is designed for quick and easy data manipulation, aggregation, and visualization, and is an ideal tool for data wrangling.
    Hint

    This library provides data structures like DataFrames.

    Answer

    pandas

  25. 25
    NumPy provides an abundance of useful features for operations on n-arrays and matrices, and is mostly used for
    _____
    purposes.
    Hint

    This involves computations like linear algebra and random number generation.

    Answer

    mathematical

  26. 26
    Supervised learning is where you have the input variable XXX and the output variable YYY, and you use an algorithm to learn the mapping function from XXX to
    _____
    .
    Hint

    This is the output variable that the model predicts.

    Answer

    YYY

  27. 27
    Supervised learning is called supervised because the process of an algorithm learning from the training dataset can be thought of as a
    _____
    supervising the learning process.
    Hint

    This entity provides labeled examples to guide learning.

    Answer

    teacher

  28. 28
    Linear regression is used to estimate real values, such as the cost of houses, based on
    _____
    variables.
    Hint

    These variables can take any value within a range.

    Answer

    continuous

  29. 29
    In simple linear regression, the equation y=a+Bxy = a + Bxy=a+Bx represents a line with slope
    _____
    and intercept aaa.
    Hint

    This coefficient measures the change in yyy for a unit change in xxx.

    Answer

    BBB

  30. 30
    Correlation is an important factor to check the dependencies among multiple variables; it gives insight into the
    _____
    relationship among variables.
    Hint

    This indicates how variables move together.

    Answer

    mutual

  31. 31
    The regression line is the single line that best fits the data in terms of having the smallest overall distance from the line to the
    _____
    .
    Hint

    These are the individual data observations.

    Answer

    points

  32. 32
    Logistic regression is used to estimate discrete values, typically binary values like 000 and 111 or yes and no, based on a given set of
    _____
    variables.
    Hint

    These are the predictors in the model.

    Answer

    independent

  33. 33
    The logistic regression curve is also called a sigmoid curve or the
    _____
    curve.
    Hint

    The shape of the curve resembles this letter.

    Answer

    S

  34. 34
    In logistic regression, a threshold value is set to decide the output; values above the threshold are rounded to 1, and values below are rounded to
    _____
    .
    Hint

    This is the binary opposite of 1.

    Answer

    0

  35. 35
    When we have nonlinear data that cannot be predicted with a linear model, we switch to
    _____
    regression.
    Hint

    This type of regression uses polynomial functions of the independent variable.

    Answer

    polynomial

  36. 36
    A decision tree is a tree-like structure where internal nodes represent tests on an attribute, each branch represents the outcome of the test, and each leaf node represents a
    _____
    label.
    Hint

    This is the final decision or prediction.

    Answer

    class

  37. 37
    In a decision tree, the path from the
    _____
    to the leaf represents classification rules.
    Hint

    This is the topmost node of the tree.

    Answer

    root

  38. 38
    Random forest is an ensemble classifier made using many
    _____
    tree models.
    Hint

    Each model in the ensemble is of this type.

    Answer

    decision

  39. 39
    An ensemble model combines results from different models; the final decision in random forest is based on the majority of
    _____
    .
    Hint

    Each tree contributes one of these for the class.

    Answer

    votes

  40. 40
    Naive Bayes is a classification technique based on Bayes theorem with an assumption of independence among
    _____
    .
    Hint

    These are the features or input variables.

    Answer

    predictors

  41. 41
    Bayes theorem describes the probability of an event based on prior knowledge of conditions that might be related to the event; it is a way to figure out
    _____
    probability.
    Hint

    This is the probability of an event given that another event has occurred.

    Answer

    conditional

  42. 42
    Unsupervised learning is used to draw inferences from datasets consisting of input data without
    _____
    responses.
    Hint

    These responses are the correct outputs in supervised learning.

    Answer

    labeled

  43. 43
    Clustering is the process of dividing datasets into groups consisting of similar
    _____
    points.
    Hint

    These are the individual observations in the dataset.

    Answer

    data

  44. 44
    In exclusive clustering (hard clustering), an item belongs exclusively to one cluster; an example of this is
    _____
    clustering.
    Hint

    This algorithm partitions data into KKK clusters where each point belongs to exactly one cluster.

    Answer

    k-means

  45. 45
    Overlapping clustering, also known as soft clustering, allows an item to belong to multiple clusters with a degree of association; an example is
    _____
    clustering.
    Hint

    This algorithm uses membership values between 0 and 1.

    Answer

    fuzzy c-means

  46. 46
    Hierarchical clustering builds a hierarchy from the bottom up or top down, and does not require specifying the number of
    _____
    beforehand.
    Hint

    This is the final grouping of data.

    Answer

    clusters

  47. 47
    The elbow method is used to determine the number of clusters in k-means by plotting the sum squared error (SSE) against the number of clusters and choosing the point where the SSE decreases
    _____
    .
    Hint

    This is where the graph bends like an elbow.

    Answer

    abruptly

  48. 48
    Market basket analysis is a key technique used by large retailers to uncover
    _____
    between items that occur together frequently in transactions.
    Hint

    This measures how items are related.

    Answer

    association

  49. 49
    In association rule mining, support gives the fraction of transactions that contain an item set, confidence gives how often items occur together given a condition, and
    _____
    indicates the strength of the rule over random occurrence.
    Hint

    This metric compares the observed co-occurrence with expected co-occurrence if independent.

    Answer

    lift

  50. 50
    The Apriori algorithm uses frequent itemsets to generate association rules and is based on the concept that a subset of a frequent itemset must also be a
    _____
    itemset.
    Hint

    This property is known as the Apriori property.

    Answer

    frequent

  51. 51
    Reinforcement learning is a type of machine learning where an agent learns to behave in an environment by performing actions and observing the
    _____
    it gets from those actions.
    Hint

    These are feedback signals indicating success or failure.

    Answer

    rewards

  52. 52
    In reinforcement learning, the learning method is based on trial and
    _____
    .
    Hint

    This involves trying different actions and learning from mistakes.

    Answer

    error

  53. 53
    The mathematical approach for mapping a solution in reinforcement learning is called a Markov decision process (MDP); its main goal is to maximize rewards by choosing the
    _____
    policy.
    Hint

    This is the best possible set of actions to achieve the goal.

    Answer

    optimum

  54. 54
    In Q-learning, the Q matrix represents the memory of what the agent has learned through experience; the formula to update Q involves the immediate reward plus a discounted maximum of the next state's Q values, where the discount factor is called
    _____
    .
    Hint

    This parameter ranges from 0 to 1 and controls the importance of future rewards.

    Answer

    gamma

1 of 54
Question 1 of 54

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent