Application Examples

Engineering problems, mapped to Python.

Explore the catalog of companion notebooks connecting machine learning methods to engineering data, models, evaluation, and decisions.

56 notebooks
Chapters 6–14 methods and applications
Signed-in access browser, Colab, or local use
Validated in Google Colab

Start here

Explore the complete notebook collection.

All 56 validated notebooks can be read in full after sign-in. Authorized users may also load a personal copy into Google Colab or download the `.ipynb` file after accepting the access and use restrictions.

  1. 01

    Select an AE. Search by engineering problem, method, package, or chapter.

  2. 02

    Review its scope. Check the method, application, key packages, and validation status.

  3. 03

    Sign in and use it. Read the executed notebook online, load it into Colab, or download a personal copy.

Companion notebook catalog

Application Examples by chapter

All notebooks have executed successfully and generated results in Google Colab. Viewing and notebook transfer require a verified portal account.

56 notebooks

  1. AE 6.3.5Chapter 6

    Predicting Tensile Strength of Steel

    linear regression · Supervised Learning: Regression

    DatasetSteel Strength Prediction External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    View exampleSign-in required
  2. AE 6.4.5Chapter 6

    Estimating Parameters for Heat Loss in a Building

    linear regression parameter estimation · Supervised Learning: Regression

    DatasetDaily Delhi Climate External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    View exampleSign-in required
  3. AE 6.5.4Chapter 6

    Evaluating a Regression Model for Battery Lifetime Prediction

    regression model evaluation · Supervised Learning: Regression

    DatasetBattery Remaining Useful Life External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    • statsmodels
    View exampleSign-in required
  4. AE 6.6.4Chapter 6

    Modeling Deflection of a Cantilever Beam

    polynomial regression · Supervised Learning: Regression

    DatasetGenerated in notebookSynthetic engineering data
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    View exampleSign-in required
  5. AE 6.7.5Chapter 6

    Predicting Automobile MPG with Regularized Regression

    regularized regression · Supervised Learning: Regression

    DatasetAuto MPG External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    View exampleSign-in required
  6. AE 7.3.5Chapter 7

    Predicting Mechanical Failure Status with Logistic Regression

    logistic regression · Supervised Learning: Classification

    DatasetAPS Failure at Scania Trucks External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • requests
    • scikit-learn
    • +1
    View exampleSign-in required
  7. AE 7.4.4Chapter 7

    Classifying Concrete Strength with Decision Trees

    decision-tree classification · Supervised Learning: Classification

    DatasetConcrete Compressive Strength External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    View exampleSign-in required
  8. AE 7.5.5Chapter 7

    SVMs for Rotating Equipment Fault Classification

    support vector machine classification · Supervised Learning: Classification

    DatasetCWRU Bearing Dataset External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    View exampleSign-in required
  9. AE 7.6.4Chapter 7

    K-NN for Air Quality Monitoring

    k-nearest-neighbor classification · Supervised Learning: Classification

    DatasetAir Quality External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    View exampleSign-in required
  10. AE 8.2.4Chapter 8

    Bagging for Steel Plate Quality Control

    bagging · Ensemble Methods

    DatasetSteel Plates Faults External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    • seaborn
    View exampleSign-in required
  11. AE 8.3.4Chapter 8

    Random Forest for Equipment Failure Prediction

    random forests · Ensemble Methods

    DatasetNASA C-MAPSS External dataset
    Validated in Google Colab
    • matplotlib
    • pandas
    • scikit-learn
    View exampleSign-in required
  12. AE 8.4.4Chapter 8

    Gradient Boosting for Fault Detection

    gradient boosting · Ensemble Methods

    DatasetNASA C-MAPSS External dataset
    Validated in Google Colab
    • matplotlib
    • pandas
    • scikit-learn
    View exampleSign-in required
  13. AE 8.5.4Chapter 8

    Evaluating and Interpreting a Random Forest

    random-forest evaluation and interpretation · Ensemble Methods

    Validated in Google Colab
    • gdown
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    View exampleSign-in required
  14. AE 9.2.5Chapter 9

    Binary Classification of Manufactured Parts

    perceptron classification · Neural Networks and Deep Learning

    DatasetDefined in notebookIllustrative manufacturing data
    Validated in Google Colab
    • numpy
    View exampleSign-in required
  15. AE 9.3.4Chapter 9

    Classifying Manufacturing Quality Using MLP

    multilayer perceptron classification · Neural Networks and Deep Learning

    DatasetSECOM manufacturing data External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    • torch
    View exampleSign-in required
  16. AE 9.3.5Chapter 9

    MLP for Predicting Concrete Strength

    multilayer perceptron regression · Neural Networks and Deep Learning

    DatasetConcrete Compressive Strength External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    • seaborn
    View exampleSign-in required
  17. AE 9.4.5Chapter 9

    Predicting the Onset of Diabetes Based on Diagnostic Measures

    regularized neural-network classification · Neural Networks and Deep Learning

    DatasetPima Indians Diabetes Database External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    • tensorflow
    View exampleSign-in required
  18. AE 9.5.2Chapter 9

    CNN for Surface Defect Detection

    convolutional neural networks · Neural Networks and Deep Learning

    DatasetNEU Surface Defect Database External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • tensorflow
    View exampleSign-in required
  19. AE 9.5.5Chapter 9

    LSTM for Predictive Maintenance Using Sensor Time Series

    long short-term memory networks · Neural Networks and Deep Learning

    DatasetC-MAPSS Jet Engine Data External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    • tensorflow
    View exampleSign-in required
  20. AE 9.5.5-bChapter 9

    LSTM Comparison Using the AI4I 2020 Dataset

    long short-term memory networks · Neural Networks and Deep Learning

    DatasetAI4I 2020 Predictive Maintenance External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    • tensorflow
    View exampleSign-in required
  21. AE 10.2.2Chapter 10

    Clustering Hydraulic System Operating States with K-Means

    k-means clustering · Unsupervised Learning

    DatasetAI4I 2020 Predictive Maintenance External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    • seaborn
    View exampleSign-in required
  22. AE 10.2.4Chapter 10

    Hierarchical Clustering for Anomaly Detection in Oil and Gas Chemical Plants

    hierarchical clustering · Unsupervised Learning

    DatasetDataset provided with notebookOriginal external source is no longer available
    Validated in Google Colab
    • matplotlib
    • pandas
    • scikit-learn
    • scipy
    • seaborn
    View exampleSign-in required
  23. AE 10.2.6Chapter 10

    DBSCAN for Fault Detection in a Power Grid Sensor Network

    density-based clustering · Unsupervised Learning

    DatasetGenerated in notebookSimulated sensor network data
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    • seaborn
    View exampleSign-in required
  24. AE 10.3.2Chapter 10

    PCA for Vibration-Based Fault Diagnosis

    principal component analysis · Unsupervised Learning

    DatasetCWRU Bearing Dataset External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    View exampleSign-in required
  25. AE 10.3.4Chapter 10

    t-SNE/UMAP for Condition Monitoring of Industrial Bearings

    nonlinear dimensionality reduction · Unsupervised Learning

    DatasetCWRU Bearing Dataset External dataset
    Validated in Google Colab
    • matplotlib
    • pandas
    • scikit-learn
    • umap
    View exampleSign-in required
  26. AE 10.3.6Chapter 10

    Autoencoder for Structural Health Monitoring with Sensor Arrays

    autoencoders · Unsupervised Learning

    DatasetDataset provided with notebookOriginal external source is no longer available
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    • tensorflow
    View exampleSign-in required
  27. AE 10.4.2Chapter 10

    GMM for Industrial Process State Segmentation

    Gaussian mixture models · Unsupervised Learning

    DatasetSECOM manufacturing data External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    View exampleSign-in required
  28. AE 10.4.4Chapter 10

    EM for Fault Detection with GMMs

    expectation-maximization with Gaussian mixture models · Unsupervised Learning

    DatasetNASA C-MAPSS External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    View exampleSign-in required
  29. AE 10.4.6Chapter 10

    KDE for Sensor Drift Detection in Environmental Monitoring

    kernel density estimation · Unsupervised Learning

    DatasetWater Potability External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    View exampleSign-in required
  30. AE 11.3.2Chapter 11

    Q-Learning for Adaptive Cruise Control

    Q-learning · Reinforcement Learning

    DatasetSimulated environmentAdaptive cruise control
    Validated in Google Colab
    • matplotlib
    • numpy
    View exampleSign-in required
  31. AE 11.3.4Chapter 11

    SARSA for Adaptive Traffic Light Control

    SARSA · Reinforcement Learning

    DatasetSimulated environmentTraffic intersection control
    Validated in Google Colab
    • matplotlib
    • numpy
    View exampleSign-in required
  32. AE 11.4.2Chapter 11

    REINFORCE for CartPole Control

    policy-gradient reinforcement learning · Reinforcement Learning

    DatasetGymnasium CartPole environment Simulation environment
    Validated in Google Colab
    • gymnasium
    • matplotlib
    • numpy
    • torch
    View exampleSign-in required
  33. AE 11.4.4Chapter 11

    Actor-Critic RL for Temperature Control in a Chemical Reactor

    actor-critic reinforcement learning · Reinforcement Learning

    DatasetSimulated environmentChemical reactor temperature control
    Validated in Google Colab
    • matplotlib
    • numpy
    View exampleSign-in required
  34. AE 11.5.2Chapter 11

    Deep Q-Learning for Battery Management

    deep Q-learning · Reinforcement Learning

    DatasetSimulated environmentBattery management
    Validated in Google Colab
    • matplotlib
    • numpy
    • torch
    View exampleSign-in required
  35. AE 11.5.4Chapter 11

    DDPG for Robot Arm Control

    deep deterministic policy gradients · Reinforcement Learning

    DatasetSimulated environmentRobot arm control
    Validated in Google Colab
    • matplotlib
    • numpy
    • torch
    View exampleSign-in required
  36. AE 11.5.5Chapter 11

    PPO for Adaptive Cruise Control under Stochastic Traffic

    proximal policy optimization · Reinforcement Learning

    DatasetSimulated environmentAdaptive cruise control
    Validated in Google Colab
    • matplotlib
    • numpy
    • torch
    View exampleSign-in required
  37. AE 12.3.5Chapter 12

    VAE for Sensor Anomaly Detection

    variational autoencoders · Generative Models

    DatasetGenerated in notebookSynthetic sensor windows
    Validated in Google Colab
    • matplotlib
    • numpy
    • torch
    View exampleSign-in required
  38. AE 12.4.5Chapter 12

    GAN for Surface-Defect Augmentation

    generative adversarial networks · Generative Models

    DatasetTILDA textile textures External dataset
    Validated in Google Colab
    • gdown
    • matplotlib
    • Pillow
    • torch
    • torchvision
    View exampleSign-in required
  39. AE 12.5.7Chapter 12

    Diffusion Models for Microstructure Synthesis from Experimental Metallography

    denoising diffusion models · Generative Models

    DatasetHigh-Carbon Steel Micrographs External dataset
    Validated in Google Colab
    • gdown
    • matplotlib
    • numpy
    • Pillow
    • torch
    View exampleSign-in required
  40. AE 12.6.10Chapter 12 API key

    An LLM Copilot for Cantilever Beam Sizing

    large language models and retrieval-augmented generation · Generative Models

    DatasetBuilt in notebookCantilever-beam knowledge base
    Validated in Google Colab
    • numpy
    • openai
    View exampleSign-in required
  41. AE 13.5.6Chapter 13

    Physics-Constrained Regression for Discharge of a Capacitor

    physics-constrained regression · Physics-Informed Machine Learning

    DatasetGenerated in notebookSimulated capacitor discharge data
    Validated in Google Colab
    • matplotlib
    • numpy
    • torch
    View exampleSign-in required
  42. AE 13.5.7Chapter 13

    Physics-Constrained Classification for Fault Detection in a Mass-Spring System

    physics-constrained classification · Physics-Informed Machine Learning

    DatasetGenerated in notebookSimulated mass-spring data
    Validated in Google Colab
    • matplotlib
    • numpy
    • scikit-learn
    • torch
    View exampleSign-in required
  43. AE 13.5.8Chapter 13

    PINN for Solving a 1D PDE

    physics-informed neural networks · Physics-Informed Machine Learning

    DatasetGenerated in notebookPhysics-informed training points
    Validated in Google Colab
    • matplotlib
    • numpy
    • torch
    View exampleSign-in required
  44. AE 14.2.4Chapter 14

    Fine-Tuning for Defect Detection in Manufacturing

    transfer learning and fine-tuning · Specialized ML Techniques and Emergent Topics

    DatasetNEU Surface Defect Database External dataset
    Validated in Google Colab
    • gdown
    • matplotlib
    • numpy
    • scikit-learn
    • torch
    • +1
    View exampleSign-in required
  45. AE 14.3.3Chapter 14

    Uncertainty-Aware Stress-Strain Modeling

    Bayesian regression · Specialized ML Techniques and Emergent Topics

    DatasetGenerated in notebookSynthetic stress-strain observations
    Validated in Google Colab
    • matplotlib
    • numpy
    View exampleSign-in required
  46. AE 14.3.5Chapter 14

    Bayesian Linear Regression via MCMC

    Markov chain Monte Carlo · Specialized ML Techniques and Emergent Topics

    DatasetGenerated in notebookSynthetic stress-strain observations
    Validated in Google Colab
    • arviz
    • matplotlib
    • numpy
    • pymc
    View exampleSign-in required
  47. AE 14.3.7Chapter 14

    Uncertainty-Aware Prediction of Airfoil Self-Noise

    Bayesian neural networks · Specialized ML Techniques and Emergent Topics

    DatasetAirfoil Self-Noise External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    • scikit-learn
    • torch
    View exampleSign-in required
  48. AE 14.4.7Chapter 14

    Collaborative Filtering for Design Preference Learning

    collaborative filtering · Specialized ML Techniques and Emergent Topics

    DatasetMovieLens 100K External dataset
    Validated in Google Colab
    • matplotlib
    • numpy
    • pandas
    View exampleSign-in required
  49. AE 14.5.3Chapter 14

    Mining Association Rules in Aircraft Engine Maintenance and Failure Logs

    association-rule mining · Specialized ML Techniques and Emergent Topics

    DatasetNASA C-MAPSS External dataset
    Validated in Google Colab
    • gdown
    • matplotlib
    • mlxtend
    • numpy
    • pandas
    View exampleSign-in required
  50. AE 14.6.5Chapter 14

    GCN for Predicting Stress Distributions on a Mesh

    graph convolutional networks · Specialized ML Techniques and Emergent Topics

    DatasetGenerated in notebookSynthetic cantilever mesh cases
    Validated in Google Colab
    • matplotlib
    • numpy
    • torch
    View exampleSign-in required
  51. AE 14.6.6Chapter 14

    GAT for Critical Node Identification in Transportation

    graph attention networks · Specialized ML Techniques and Emergent Topics

    DatasetOpenStreetMap road network External map data
    Validated in Google Colab
    • matplotlib
    • networkx
    • numpy
    • osmnx
    • scikit-learn
    • +1
    View exampleSign-in required
  52. AE 14.7.3Chapter 14

    Masked Modeling for Power Grid Prediction

    self-supervised masked modeling · Specialized ML Techniques and Emergent Topics

    DatasetEnergy Consumption Dataset External dataset
    Validated in Google Colab
    • gdown
    • matplotlib
    • numpy
    • pandas
    • torch
    View exampleSign-in required
  53. AE 14.7.4Chapter 14

    Self-Supervised Contrastive Learning for Bearing Degradation Representation

    contrastive learning · Specialized ML Techniques and Emergent Topics

    DatasetBearing Degradation Dataset External dataset
    Validated in Google Colab
    • gdown
    • matplotlib
    • numpy
    • torch
    View exampleSign-in required
  54. AE 14.8.4Chapter 14

    Symbolic Regression for Discovering Governing Equations of a Nonlinear Mechanical System

    symbolic regression · Specialized ML Techniques and Emergent Topics

    DatasetGenerated in notebookSimulated nonlinear-system data
    Validated in Google Colab
    • gplearn
    • matplotlib
    • numpy
    • scikit-learn
    View exampleSign-in required
  55. AE 14.8.5Chapter 14

    Hybrid Symbolic-Neural Modeling for Power System Load Prediction

    hybrid symbolic-neural modeling · Specialized ML Techniques and Emergent Topics

    DatasetProvided to notebookPJME hourly load data
    Validated in Google Colab
    • gdown
    • matplotlib
    • numpy
    • pandas
    • torch
    View exampleSign-in required
  56. AE 14.9.5Chapter 14 API key

    An LLM-Based Agentic System for Early-Stage Engineering Design Support

    agentic large language models · Specialized ML Techniques and Emergent Topics

    DatasetProvided to notebookEngineering requirements and tool configuration
    Validated in Google Colab
    • gdown
    • matplotlib
    • numpy
    • openai
    • pandas
    View exampleSign-in required

Contribute

Propose an improvement or extension.

Use the catalog to identify an AE, then submit a correction, implementation insight, dataset note, or proposed extension through the contribution workflow.

Contribution routes Notebook access remains personal to each verified account.