Skip to content

tspecht93/HANNA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HANNA Project

Paper License: MIT Website MLPROP

This repository contains the first version of HANNA that was restricted to binary mixtures. We now provide an enhanced version of HANNA that is applicable to multi-component mixtures. You can find it in our new repo.

Overview

This repository contains the implementation of our HArd-constraint Neural Network for Activity coefficient prediction (HANNA). HANNA can be used to predict activity coefficients in any binary mixture whose components can be represented as SMILES strings. You can find details on HANNA in our paper.

MLPROP Website

You can explore HANNA and other models interactively on our new website, MLPROP, without any installation. TOC Figure

Installation

To set up the project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/tspecht93/HANNA.git
    cd HANNA
  2. Core packages required:

    • PyTorch
    • NumPy & Pandas
    • Scikit-learn
    • Matplotlib
    • RDKit
    • Transformers
    • JupyterLab
    • SciPy

Usage

You can use the HANNA.ipynb notebook, which provides a demonstration of how to calculate activity coefficients for a binary mixture.

Contents

  • __init__.py: Initialization file for the package.
  • HANNA.py: Contains the neural network architecture of HANNA.
  • Own_Scaler.py: Custom scaler implementation for preprocessing.
  • Plots.py: Function for creating and exporting the plot. Raw values will be saved as csv.
  • Utils.py: Utility functions used throughout the project.
  • HANNA.ipynb: Jupyter notebook demonstrating the usage of HANNA.
  • README.md: Project documentation.
  • License.txt: Contains license information for the HANNA.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

HANNA: Hard-constraint Neural Network for Consistent Activity Coefficient Prediction

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors