Skip to main content

Physics-Guided Neural Networks (phygnn)

Project description

An open source implementation of Physics-Guided Neural Networks (PHYGNN). This implementation of PHYGNN augments a traditional neural network loss function with a generic loss term that can be used to guide the neural network to learn physical or theoretical constraints.

Installation

  1. Use conda (anaconda or miniconda with python 3.7) to create a phygnn environment: conda create --name phygnn python=3.7

  2. Activate your new conda env: conda activate phygnn

  3. Navigate to the phygnn directory that contains setup.py and run: pip install -e . (developer install) or pip install . (static install).

  4. Test your installation:

    1. Start ipython and test the following import: from phygnn import PhysicsGuidedNeuralNetwork

    2. Navigate to the tests/ directory and run the command: pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

NREL-phygnn-0.0.0.tar.gz (11.9 kB view hashes)

Uploaded Source

Built Distribution

NREL_phygnn-0.0.0-py3-none-any.whl (13.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page