A step-by-step tutorial on machine learning for engineers unfamiliar with programming
M. Z. Naser
AI in Civil Engineering ›› 2025, Vol. 4 ›› Issue (1) : 10
Machine learning (ML) has garnered significant attention within the engineering domain. However, engineers without formal ML education or programming expertise may encounter difficulties when attempting to integrate ML into their work processes. This study aims to address this challenge by offering a tutorial that guides readers through the construction of ML models using Python. We introduce three simple datasets and illustrate how to preprocess the data for regression, classification, and clustering tasks. Subsequently, we navigate readers through the model development process utilizing well-established libraries such as NumPy, pandas, scikit-learn, and matplotlib. Each step, including data preparation, model training, validation, and result visualization, is covered with detailed explanations. Furthermore, we explore explainability techniques to help engineers understand the underlying behavior of their models. By the end of this tutorial, readers will have hands-on experience with three fundamental ML tasks and understand how to evaluate and explain the developed models to make engineering projects efficient and transparent.
Machine learning / Engineering / Tutorial / Python
| [1] |
|
| [2] |
|
| [3] |
|
| [4] |
Frank I, Todeschini R. (1994). The data analysis handbook. Retrieved June 21, 2019, from https://books.google.com/books?hl=en&lr=&id=SXEpB0H6L3YC&oi=fnd&pg=PP1&ots=zfmIRO_XO5&sig=dSX6KJdkuav5zRNxaUdcftGSn2k |
| [5] |
Goodfellow I, Benigo Y, Courville A. (2016). Deep Learning (Adaptive Computation and Machine Learning series): Ian Goodfellow, Yoshua Bengio, Aaron Courville: 9780262035613: Amazon.com: Books, MIT Press. |
| [6] |
Hastie T, Tibshirani R, Friedman JH, MyiLibrary. (2001). The elements of statistical learning data mining, inference, and prediction : with 200 full-color illustrations, Springer Series in Statistics. |
| [7] |
|
| [8] |
Lundberg SM. Lee SI. (2017). A unified approach to interpreting model predictions, in: Adv. Neural Inf. Process. Syst. |
| [9] |
|
| [10] |
|
| [11] |
|
| [12] |
|
| [13] |
|
| [14] |
Pine DJ. (2019). Introduction to Python for Science and Engineering. https://doi.org/10.1201/9780429506413 |
| [15] |
Ribeiro MT, Singh S, Guestrin C. (2016). Why should i trust you? Explaining the predictions of any classifier, in: Proc ACM SIGKDD Int. Conf. Knowl. Discov. Data Min. https://doi.org/10.1145/2939672.2939778. |
| [16] |
|
| [17] |
|
| [18] |
|
| [19] |
|
| [20] |
|
| [21] |
|
| [22] |
Yuan F-G, Zargar SA, Chen Q, Wang S. (2020). Machine learning for structural health monitoring: challenges and opportunities. https://doi.org/10.1117/12.2561610. |
| [23] |
|
The Author(s)
/
| 〈 |
|
〉 |