Skip to content

Elizabeth-327/Predicting_func_groups_from_IR_data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Predicting functional groups from IR Spectra

This repository contains scripts to train a convolutional neural network (CNN) to predict the functional groups present in an IR spectrum. I.e., for a set of wavelengths and corresponding absorbance values, the model should predict the functional groups present.

How to Use

  1. Download MLKoji IR data and place in folder '0'.
  2. Create a virtual environment and install dependencies:
    $ pip install -r requirements.txt
  3. Run files in this order:
    a. split_data.py
    b. hyperparameter_optimization.py
    c. train_model.py (update based on results of hyperparameter optimization)
    d. optimal_thresholding.py
    e. evaluation.py

Acknowledgments

This project includes the following open-source components:

The IR spectra used was taken by Koji Nakanishi.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages