Chapter 2

Supervised Learning

From predicting bearing capacity to classifying liquefaction risk — supervised learning is the workhorse of AI in civil engineering. Give it labeled data, and it learns to predict.

0
Sub-chapters
0
Interactive Demos
0
Quiz Questions
0
CE Applications

Civil Engineering Focus

Every algorithm is taught through geotechnical and water resources examples. Predict settlement, classify soil, assess liquefaction risk, forecast floods — not abstract toy problems.

Bearing Capacity Soil Classification Flood Prediction Liquefaction Concrete Strength Groundwater

What You'll Build With Supervised Learning

Real prediction & classification systems for geotechnical and water resources engineering

Settlement Predictor

Linear regression on consolidation data to predict total & differential settlement

Soil Type Classifier

k-NN & decision trees on borehole logs for automatic USCS classification

Liquefaction Risk

SVM & logistic regression on SPT data to predict liquefaction susceptibility

Flood Discharge

Multiple regression on catchment parameters to forecast peak runoff

Bearing Capacity

Random forest on soil test data to predict ultimate bearing capacity

Concrete Strength

Polynomial regression on mix design parameters for f'c prediction

Groundwater Level

SVR on well monitoring data to predict seasonal aquifer response

Site Response

Full ML pipeline for seismic site amplification prediction from Vs30

10 Sub-Chapters

From fundamentals to a complete geotechnical case study

Section 2.1
Supervised Learning Fundamentals
Features, labels, train-test split — the building blocks. CE examples: soil classification from SPT data, concrete strength from mix ratios.
30 min 2 demos 4 quiz Qs
fundamentals soil classification interactive
Section 2.2
Linear Regression
y = mx + b meets geotechnical engineering. Predict consolidation settlement, concrete strength from water-cement ratio.
35 min 2 demos 4 quiz Qs
regression settlement interactive
Section 2.3
Polynomial & Multiple Regression
Curved stress-strain relationships, multi-factor concrete mix design. When straight lines aren't enough.
40 min 2 demos 4 quiz Qs
polynomial stress-strain interactive
Section 2.4
Classification Basics & k-NN
Sort soil into USCS categories, flag pass/fail concrete tests, classify dam safety levels — all with k-NN.
35 min 2 demos 4 quiz Qs
classification soil types interactive
Section 2.5
Logistic Regression
Probability of failure — dam safety, slope stability, liquefaction. The sigmoid function for yes/no engineering decisions.
40 min 2 demos 4 quiz Qs
probability dam safety interactive
Section 2.6
Decision Trees & Random Forests
IF-THEN engineering decisions. Bearing capacity prediction, material selection, structural risk assessment with ensemble methods.
45 min 2 demos 4 quiz Qs
ensemble bearing capacity interactive
Section 2.7
Support Vector Machines
Maximum-margin classification — earthquake damage levels, soil liquefaction boundaries, SVR for regression.
45 min 2 demos 4 quiz Qs
SVM earthquake liquefaction
Section 2.8
Model Evaluation Metrics
Accuracy, precision, recall, RMSE — choosing the right metric when lives depend on your model's predictions.
45 min 2 demos 4 quiz Qs
metrics evaluation interactive
Section 2.9
Overfitting & Regularization
Why your model works on lab data but fails on site. Bias-variance tradeoff, Ridge, Lasso — the Goldilocks of ML.
40 min 2 demos 4 quiz Qs
regularization generalization interactive
Section 2.10 — Capstone
CE Case Study: Seismic Site Response Analysis
Full end-to-end ML project: collect borehole data → engineer features (Vs30, impedance) → train & compare models → interpret results → deploy. Everything from 2.1–2.9 applied to a real geotechnical problem.
50 min 2 demos 4 quiz Qs
site response seismic borehole data full pipeline