🌍 Machine Learning · subject

Machine Learning Introduction to Machine Learning Syllabus

The Introduction to Machine Learning syllabus for Machine Learning in full: 2 chapters and 8 topics, every one listed below, plus 49 Introduction to Machine Learning flashcards with answers.

2Chapters
8Topics
49Flashcards

Introduction to Machine Learning syllabus: all 2 chapters

Expand any chapter to see its topics and sub-topics.

  1. Overview of Machine Learning

    4 topics
    • Definition of Machine Learning
    • Types of Machine Learning
    • Applications of Machine Learning
    • History of Machine Learning
  2. Basic Concepts

    4 topics
    • Supervised Learning
    • Unsupervised Learning
    • Reinforcement Learning
    • Semi-Supervised Learning

Machine Learning Introduction to Machine Learning flashcards — 49 questions with answers

  1. What is the standard definition of Machine Learning?

    Machine Learning is a subfield of artificial intelligence in which systems automatically learn patterns from data and improve their performance on a task through experience, without being explicitly programmed for that task.

  2. What is Tom Mitchell's formal (well-posed) definition of a learning problem?

    A computer program learns from experience $E$ with respect to some class of tasks $T$ and performance measure $P$, if its performance at tasks in $T$, as measured by $P$, improves with experience $E$.

  3. How does Machine Learning differ from traditional rule-based programming?

    In traditional programming a human writes explicit rules: data plus program produce output. In machine learning the system is given data and the desired outputs and infers the rules (the model) itself: data plus output produce the program.

  4. What are the three main types (paradigms) of Machine Learning?

    Supervised learning, unsupervised learning, and reinforcement learning. (Semi-supervised learning is often listed as a fourth, hybrid paradigm.)

  5. What distinguishes the learning paradigms by the kind of feedback they use?

    Supervised learning uses labeled feedback (correct answers), unsupervised learning uses no labels (only input structure), and reinforcement learning uses evaluative feedback in the form of rewards or penalties from interacting with an environment.

  6. In Machine Learning terminology, what is a 'feature' and what is a 'label'?

    A feature is an individual measurable input attribute of an example (a column / independent variable $x$). A label is the target output value $y$ that a supervised model is trained to predict.

  7. List five major application areas of Machine Learning.

    Examples include: image and facial recognition (computer vision), speech recognition and natural language processing, recommendation systems, spam/fraud detection, medical diagnosis, autonomous vehicles, and financial forecasting.

  8. Which ML paradigm typically powers product recommendation systems and how?

    Recommendation systems mainly use unsupervised/collaborative-filtering techniques (finding patterns and similarities among users and items) and sometimes supervised learning to predict ratings or click probabilities.

  9. Who coined the term 'Machine Learning' and in what year?

    Arthur Samuel coined the term 'Machine Learning' in 1959, based on his work on a self-learning checkers (draughts) playing program.

  10. What 1950 contribution by Alan Turing is foundational to machine learning and AI?

    Alan Turing proposed the 'Imitation Game' (the Turing Test) in his 1950 paper 'Computing Machinery and Intelligence', and raised the idea of machines that can learn.

  11. What was the Perceptron, who created it, and in what year?

    The Perceptron was an early single-layer neural network model for binary classification, invented by Frank Rosenblatt in 1957 (introduced 1958).

  12. What event caused the 'AI winter' relevant to early neural network research?

    Minsky and Papert's 1969 book 'Perceptrons' showed that single-layer perceptrons could not solve non-linearly-separable problems such as XOR, which reduced funding and interest in neural networks for years.

  13. What algorithmic breakthrough in the 1980s revived neural network research?

    The backpropagation algorithm for training multilayer neural networks, popularized by Rumelhart, Hinton, and Williams in 1986, enabled efficient learning in deep networks.

  14. What is supervised learning?

    Supervised learning trains a model on a dataset of input-output pairs (labeled examples) so it can learn a mapping $f: X \to Y$ that predicts the correct output $y$ for new, unseen inputs $x$.

  15. What are the two main task types in supervised learning?

    Classification (predicting a discrete categorical label) and regression (predicting a continuous numerical value).

  16. Give the difference between classification and regression with examples.

    Classification predicts discrete categories (e.g., spam vs. not spam, cat vs. dog). Regression predicts continuous quantities (e.g., house price, temperature). Classification outputs labels; regression outputs real numbers.

  17. Name four common supervised learning algorithms.

    Linear regression, logistic regression, decision trees, support vector machines (SVM), k-nearest neighbors (KNN), naive Bayes, and random forests are all common supervised algorithms.

  18. Write the hypothesis (model) equation for simple linear regression.

    $$\hat{y} = \theta_0 + \theta_1 x$$ where $\theta_0$ is the intercept (bias) and $\theta_1$ is the slope (weight).

  19. What is the Mean Squared Error (MSE) cost function used in regression?

    $$J(\theta) = \frac{1}{m} \sum_{i=1}^{m} \left( \hat{y}^{(i)} - y^{(i)} \right)^{2}$$ where $m$ is the number of training examples, $\hat{y}^{(i)}$ is the prediction, and $y^{(i)}$ is the true value.

  20. What is the sigmoid (logistic) function used in logistic regression, and its output range?

    $$\sigma(z) = \frac{1}{1 + e^{-z}}$$ It maps any real input to the range $(0, 1)$, making it suitable for outputting probabilities.

Show the other 29 Introduction to Machine Learning flashcards
  1. State the gradient descent parameter update rule.

    $$\theta_j := \theta_j - \alpha \frac{\partial}{\partial \theta_j} J(\theta)$$ where $\alpha$ is the learning rate controlling the step size.

  2. What role does the learning rate $\alpha$ play in gradient descent?

    It controls the step size of each update. If $\alpha$ is too large, the algorithm may overshoot or diverge; if too small, convergence is very slow.

  3. What is unsupervised learning?

    Unsupervised learning finds hidden patterns, structure, or groupings in input data that has no labeled outputs, discovering the inherent organization of the data on its own.

  4. What are the main task types in unsupervised learning?

    Clustering (grouping similar data points), dimensionality reduction (compressing features while preserving structure), and association rule mining (finding relationships among variables).

  5. Name three common unsupervised learning algorithms.

    k-means clustering, hierarchical clustering, DBSCAN, principal component analysis (PCA), and the Apriori algorithm for association rules.

  6. Describe the k-means clustering algorithm in steps.

    1) Choose $k$ and initialize $k$ centroids. 2) Assign each point to its nearest centroid. 3) Recompute each centroid as the mean of its assigned points. 4) Repeat steps 2-3 until assignments no longer change (convergence).

  7. What objective does k-means minimize?

    It minimizes the within-cluster sum of squares (inertia): $$J = \sum_{i=1}^{k} \sum_{x \in C_i} \lVert x - \mu_i \rVert^{2}$$ where $\mu_i$ is the centroid of cluster $C_i$.

  8. What is the purpose of dimensionality reduction, and name one method?

    To reduce the number of features while retaining as much important information as possible, easing computation and visualization and reducing overfitting. Principal Component Analysis (PCA) is a common method.

  9. What is the Euclidean distance between two points $p$ and $q$ in $n$ dimensions?

    $$d(p, q) = \sqrt{\sum_{i=1}^{n} (p_i - q_i)^{2}}$$

  10. What is reinforcement learning (RL)?

    Reinforcement learning is a paradigm where an agent learns to make sequential decisions by interacting with an environment, taking actions to maximize cumulative reward over time through trial and error.

  11. Name the core components of a reinforcement learning problem.

    Agent, environment, state ($s$), action ($a$), reward ($r$), and policy ($\pi$). Often also a value function and a model of the environment.

  12. What is a policy $\pi$ in reinforcement learning?

    A policy is the agent's strategy: a mapping from states to actions, $\pi(a \mid s)$, that defines which action the agent takes (or the probability of taking it) in each state.

  13. What is the goal of an RL agent expressed as cumulative discounted reward?

    To maximize the expected return $$G_t = \sum_{k=0}^{\infty} \gamma^{k} r_{t+k+1}$$ where $\gamma \in [0,1]$ is the discount factor weighting future rewards.

  14. What does the discount factor $\gamma$ control in reinforcement learning?

    It controls how much future rewards are valued relative to immediate ones. $\gamma$ near $0$ makes the agent myopic (short-sighted); $\gamma$ near $1$ makes it value long-term rewards.

  15. What is the exploration vs. exploitation trade-off in RL?

    Exploration means trying new actions to discover their rewards; exploitation means choosing the best-known action for immediate gain. The agent must balance both to maximize long-term reward.

  16. What is the Q-learning update rule (Bellman update)?

    $$Q(s,a) \leftarrow Q(s,a) + \alpha \left[ r + \gamma \max_{a'} Q(s', a') - Q(s,a) \right]$$ where $\alpha$ is the learning rate and $\gamma$ the discount factor.

  17. What mathematical framework formally models reinforcement learning problems?

    The Markov Decision Process (MDP), defined by the tuple $(S, A, P, R, \gamma)$: states, actions, transition probabilities, reward function, and discount factor.

  18. What is the Markov property in an MDP?

    The future state depends only on the current state and action, not on the full history: $$P(s_{t+1} \mid s_t, a_t) = P(s_{t+1} \mid s_t, a_t, s_{t-1}, \dots)$$

  19. What is semi-supervised learning?

    Semi-supervised learning trains on a dataset containing a small amount of labeled data together with a large amount of unlabeled data, using the unlabeled data to improve learning beyond what the labels alone allow.

  20. Why is semi-supervised learning useful in practice?

    Labeling data is often expensive and time-consuming, while unlabeled data is abundant and cheap. Semi-supervised learning leverages the plentiful unlabeled data to boost accuracy with limited labeling effort.

  21. Name two common techniques used in semi-supervised learning.

    Self-training (pseudo-labeling), co-training, generative models, and graph-based label propagation are common semi-supervised techniques.

  22. What key assumptions allow semi-supervised learning to work?

    The cluster/continuity assumption (nearby points likely share a label), the low-density separation assumption (decision boundaries lie in low-density regions), and the manifold assumption (data lies on a lower-dimensional manifold).

  23. Compare supervised and unsupervised learning by data and goal.

    Supervised learning uses labeled data to learn an input-to-output mapping for prediction. Unsupervised learning uses unlabeled data to discover hidden structure or groupings. The key difference is the presence or absence of target labels.

  24. What is overfitting in machine learning?

    Overfitting occurs when a model learns the training data too closely, including its noise, so it performs well on training data but poorly on new, unseen data (poor generalization).

  25. What is underfitting, and how does it relate to bias?

    Underfitting occurs when a model is too simple to capture the underlying pattern, performing poorly on both training and test data. It corresponds to high bias.

  26. State the bias-variance decomposition of expected prediction error.

    $$\text{Error} = \text{Bias}^{2} + \text{Variance} + \text{Irreducible Error}$$ High bias causes underfitting; high variance causes overfitting.

  27. Why is data split into training, validation, and test sets?

    The training set fits the model, the validation set tunes hyperparameters and selects models, and the test set gives an unbiased estimate of generalization performance on unseen data.

  28. How does deep learning relate to machine learning?

    Deep learning is a subset of machine learning that uses multilayer (deep) neural networks to automatically learn hierarchical feature representations from large amounts of data, reducing the need for manual feature engineering.

  29. Give one example task for each: classification, regression, clustering, and reinforcement learning.

    Classification: email spam detection. Regression: predicting house prices. Clustering: customer segmentation. Reinforcement learning: training a program to play a game like chess or Go.

Machine Learning Introduction to Machine Learning FAQ

What is in the Machine Learning Introduction to Machine Learning syllabus?

Machine Learning Introduction to Machine Learning is split into 2 chapters: Overview of Machine Learning and Basic Concepts. Together they contain 8 topics.

How many chapters are in Machine Learning Introduction to Machine Learning?

2 chapters, containing 8 topics. The largest chapter is Overview of Machine Learning, with 4 topics.

Are there flashcards for Machine Learning Introduction to Machine Learning?

Yes — a 49-card Introduction to Machine Learning deck, printed in full in the flashcards section of this page and available in the Examius app with spaced repetition. The free plan covers one exam of your choice, including its flashcards; Examius Pro, a one-time purchase, unlocks every other exam and deck.