Coder Social home page Coder Social logo

explainable_ml_ice_study's Introduction

Predicting compressive strength and behavior of ice and analyzing feature importance with explainable machine learning models

This repository is the official implementation of this paper. The codes were tested to work upon upload, but will not be further maintained.

Requirements

This research was done in an Anaconda environment, packages were installed with pip and conda. An environment.yml file can be found in the repository. The main required packages are

Name Version Build Channel
xgboost 1.2.0-SNAPSHOT pypi_0 pypi
tensorflow 2.2.0 pypi_0 pypi
pandas 1.0.3 py37h47e9c7a_0

Visualization packages are matplotlib and seaborn.

In order for the scripts to run, data_preprocessing.py and auxiliary_functions.py are required.

Corresponding data

The data required to train the models is in data_points.xlsx, version 1.12. This file is not available in the repository, but you can send an e-mail to [email protected] or [email protected] and we will share it with you.

Exploratory data analysis

The exploratory analysis is done with the following python codes: data_preprocessing.py, exploratory_all_data.py and exploratory_strength_values.py.

Training

To train the models in the paper, run the following notebooks: behavior_XGBoost.ipynb, strength_XGBoost.ipynb, behavior_ANN.ipnyb, strength_ANN.ipynb.

Comparison models

Different approaches were compared to the machine-learning models. Regarding the strength regression ML models, the comparison models were empirical formulas. Their computation can be found in strength_empirical.py. Regarding the behavior classification ML models, the analytical comparison model is in behavior_analytical.py.

Evaluation

The results were evaluated within the model training notebooks and in model_performance.py regarding taking the log of the target strength values or not.

Pre-trained Models

Trained models are available in pickle format from the repository. They can be run with

model_path_name_template = 'models/rgsr_xgb_sw_pickle.dat'
model = pickle.load(open(model_path_name_template, "rb"))  
predictions = model.predict(xgboost.DMatrix(X))

Contributing

If you found any mistakes, or would like to contribute to the models, please drop me a message: [email protected].

explainable_ml_ice_study's People

Contributors

leon-dae avatar

Watchers

 avatar Merten Stender avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.