A4.3 Machine learning approaches (HL) - IB Diploma Class 12 Computer Science Notes, Diagrams and Solved Questions

Higher level machine learning techniques worked through with small data sets in Python and Java: linear regression, k-nearest neighbours and decision trees, model evaluation, k-means clustering, association rules, reinforcement learning, genetic algorithms and neural networks including CNNs.

In this chapter

  • Supervised learning and least-squares linear regression
  • Classification with k-nearest neighbours and decision trees
  • Confusion matrix, accuracy, precision, recall, F1, overfitting and hyperparameter tuning
  • Unsupervised learning with k-means clustering
  • Association rules: support, confidence and lift
  • Reinforcement learning terms and genetic algorithms
  • Perceptrons, multi-layer networks, activation functions and convolutional neural networks
  • Iteration 3: tuning k with a validation set, k-means starts, a full forward pass with convolution and pooling