Skip to content

Latest commit

 

History

History
60 lines (48 loc) · 2.08 KB

README.md

File metadata and controls

60 lines (48 loc) · 2.08 KB

README: Spectroscopy Prediction Models

Overview

This repository contains Python scripts for generating synthetic spectroscopy data and predicting material facets using CNN and DNN models. The models are designed to understand and predict material properties from their infrared spectroscopy data.

Files Description

  • generatesynthetic_cnn.py - For generating synthetic spectra data and predicting with CNN.
  • generatesysnthetic_dnn.py - Similar to the CNN script, but uses a DNN model for predictions.
  • facetprediction_experiment.py - Uses a pre-trained CNN for predicting material facets from spectroscopy data.

Plots

Predicted Facets Distribution

Fig.1 - Predicted distribution of CeO2 facets. The bar chart shows the model's prediction with the highest prevalence for CeO2(111)ox.

Actual vs Predicted Absorbance

Fig.2 - Actual vs Predicted Absorbance for the CeO2(111)ox facet. The line graph illustrates the comparison of actual and predicted spectra with peaks at 2154.0 and 2174.4 wavenumbers.

Requirements

Ensure you have the following dependencies installed:


pip install tensorflow numpy pandas matplotlib scikit-learn

Usage

To run the scripts:


python generatesynthetic_cnn.py
python generatesysnthetic_dnn.py
python facetprediction_experiment.py

Note

The scripts are prepared for Google Colab, adjustments are necessary for other environments.

Contribution

Contributions to improve the models or extend the datasets are welcome. Please submit a pull request or raise an issue.