Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 1.01 KB

README.md

File metadata and controls

26 lines (23 loc) · 1.01 KB

Tamina-ML-Tg-project

This repository contains code for predicting the glass transition temperature (Tg) of polymers using machine learning techniques. The model utilizes Extended Connectivity Fingerprints (ECFP) for feature representation and implements various regression algorithms, including LightGBM, XGBoost, and Random Forest.

We utilized the dataset from https://doi.org/10.1038/s41524-023-01088-3, but instead of the OPSIN data used in the reference, we generated canonical SMILES and ECFP4 fingerprints for the polymers to enhance our analysis. Features Data Preparation: Converts SMILES representations of polymers to ECFP4. Model Training: Implements multiple regression models for Tg prediction. Evaluation Metrics: Evaluates model performance using RMSE and R². Requirements Python 3.x Pandas NumPy Scikit-learn LightGBM XGBoost CatBoost RDKit Usage Clone this repository. Install the required packages: bash Copy code pip install -r requirements.txt Run the main script to train the models and make predictions.