Skip to content

jairiidriss/neural-transfer-learning-for-soil-liquefaction-tests

Repository files navigation

Neural Transfer Learning For Soil Liquefaction Tests

Paper Link: https://www.sciencedirect.com/science/article/abs/pii/S009830042200231X


  • This code is developed to transfer learning across different soil liquefaction tests (Vs, CPT, CPT, and SPT)
  • The main model (aka the pre-trained model) is built using the comprehensive share-wave velocity (Vs) test dataset for different sources including two features (Vs1 and CSR)
  • The knowledge gained while classifying soil liquefaction using the shear-wave velocity (Vs) test dataset is reused for CPT, SPT, and DPT as starting points, and 20% of each other soil liquefaction test dataset is used to fine-tune the pre-trained model

Run the Code


  • The source code is built using Python programming language, you can easily run it using Jupyter Notebook (anaconda3)
  • Download the latest release and unzip to use. The unzipped folder contains all the files + datasets that the main codes will need to run.
  • main_model.ipynb contains the source code of the main model (pre-trained model) based on the Vs test dataset, you can easily run it on Jupyter Notebook by clicking Cell > Run All
  • main_model.h5 contains the saved model weights from the main_model.ipynb
  • The three other .ipynb files contain the predictions of soil liquefaction using other soil liquefaction tests based on the pre-trained model (main_model.h5), you can run the code easily on Jupyter notebook by clicking Cell > Run All

Datasets


You can find all the datasets in the folder ./Datasets.

  • The datasets from D1 to D7 are the shear-wave velocity test datasets used to build the main model (pre-trained model)
  • The other datasets (CPT, DPT, and DPT) are used to evaluate and compare the pre-trained model predictions on the other soil liquefaction tests datasets to other well-known models

For questions and inquiries, please, contact me at: [email protected]