18 Artificial Intelligence (AI) - Cambridge AS & A Level Class 12 Computer Science Notes, Diagrams and Solved Questions

How graphs help AI, tracing Dijkstra's algorithm and A* on a weighted graph, the categories of machine learning (supervised, unsupervised, reinforcement) and deep learning, artificial neural networks, back propagation of errors and linear regression.

In this chapter

  • The purpose and structure of a graph and why AI uses graphs
  • Tracing Dijkstra's algorithm to find shortest paths
  • Tracing A* using f = g + h with a heuristic
  • Machine learning, deep learning and reinforcement learning, and reasons for using them
  • Supervised and unsupervised learning
  • How artificial neural networks are structured and how they helped machine learning
  • Back propagation of errors to adjust weights
  • Linear regression by least squares