HKU PHYS3151: Machine Learning in Physics 2025

Slides

Lecture 0
Lecture 1_1a
Lecture 1_1b
Lecture 1_1c
Lecture 1_2
Lecture 1_3
Lecture 2_1
Lecture 2_2
Lecture 3_1
Lecture 3_2
Lecture 3_3

Notebook

Multivariate Linear Regression

Real-life examples Run in Colab
To model and reveal the force of gravity Run in Colab
2D function fitting Run in Colab
Gradient Descent & Conjugate Gradient Run in Colab

Logistic Regression

Real-life examples Run in Colab
Example on grade weighting Run in Colab
Fisher's Iris Run in Colab

Support Vector Machine

Fermi surface Run in Colab
Real-life examples Run in Colab
Fisher's Iris Run in Colab

Principal Component Analysis

Real-life examples Run in Colab
Ising model Run in Colab

Clustering 

Real-life examples Run in Colab
Ising model Run in Colab

Neural Network

Perceptron Run in Colab
Neural network in Fisher's Iris classification Run in Colab
Back propagation_wheat-seeds Run in Colab
MNielsen network Run in Colab
Feedforward Neural Network Run in Colab

Supplemental Materials