Skip to content

Mineralogical_Characterization v1.0.1

Latest

Choose a tag to compare

@Jon-GSC Jon-GSC released this 01 Nov 22:43
· 16 commits to main since this release
77a3c25

Machine learning approach to predict the mineral compositions using conventional and geochemical well logs
Download link-note:
The goal of this study is using a combined approach with previous U-Net and XGBoost algorithm for mineralization composition analysis with petrophysical logs from selected formations. The code has been tested without any issue in PyCharm IDE.
Requirements:
Install python 3.8/newer and anaconda packages: conda install keras-2.8.0, tensorflow-2.8.0, scipy, scikit-image, tqdm, pandas, numpy, seaborn, shutil, matplotlib, lasio etc. libraries.
Dataset:
The original datasets of conventional and geochemical logs are from Horn River Basin. The loaded data are edited and used for testing purpose only.
Instruction:
The three main python codes and /itools, /data need be save in same folder. Before run the code, need install open-source Python packages.

forWeb1_Data_prepare.py is used to loading '.las' files, generate the training dataset, and save as '.csv/.pkl'.

forWeb2_Model_training.py is used to create the models, and training/validation with datasets from step 2. All of the weight parameters will be saved in one folder, code will run through each of the components and save all of the results in one folder.

forWeb3_Prediction.py is used for predicting mineral composition with conventional petrophysical logs, and plotting output figures.

For pilot running, user does not need change any parameters, just run the code files in steps 3,4. The code should run without any error if environment setting is correct. Please contact at following email address if any bugs popup.

Hardware tested:
HP-7920 workstation: 56core CPU; 64G memory; one Nvidia Quadro P5000 GPU.

Contact:

Acknowledgments:
This Mineralogical characterization study used open source codes and library from github, google, and open-sourced geoscience packages lasio. Please cite the related references in your publications.