Skip to content

Commit

Permalink
Merge pull request #42 from pnnl/develop
Browse files Browse the repository at this point in the history
updated for pypi release
  • Loading branch information
brendapraggastis authored Nov 2, 2022
2 parents a4983b8 + 2b67e12 commit 907260a
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 23 deletions.
6 changes: 3 additions & 3 deletions DISCLAIMER.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
The research described in this paper is part of the Mathematics of Artificial Reasoning in Science (MARS) Initiative at Pacific Northwest National Laboratory (PNNL). It was conducted under the Laboratory Directed Research and Development Program at PNNL, a multiprogram national laboratory operated by Battelle for the U.S. Department of Energy.
The research described in this work is part of the Mathematics of Artificial Reasoning in Science (MARS) Initiative at Pacific Northwest National Laboratory (PNNL). It was conducted under the Laboratory Directed Research and Development Program at PNNL, a multiprogram national laboratory operated by Battelle for the U.S. Department of Energy.

Neither the United States Government nor the United States Department of Energy, nor Battelle, nor any of their employees, nor any jurisdiction or organization that has cooperated in the development of these materials, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness or any information, apparatus, product, software, or process disclosed, or represents that its use would not infringe privately owned rights.
Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or any agency thereof, or Battelle Memorial Institute. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof.

Expand All @@ -8,4 +8,4 @@ Reference herein to any specific commercial product, process, or service by trad
BATTELLE
for the
UNITED STATES DEPARTMENT OF ENERGY
under Contract DE-AC05-76RL01830
under Contract DE-AC05-76RL01830
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Deep Data Profiler (DDP)
========================
========================

The DDP library provides tools for analyzing the internal decision structure of a deep neural network within the
context of a specific dataset. Documentation may be found [here](https://pnnl.github.io/DeepDataProfiler/)

Expand All @@ -12,24 +12,24 @@ Using Anaconda and Pip

To install with tutorials and documentation using anaconda and pip:

Note: Documentation is built using Sphinx, which requires we install the matplotlib package using conda *not pip*.
Note: Documentation is built using Sphinx, which requires we install the matplotlib package using conda *not pip*.

>>> conda create -n ddp python=3.7 matplotlib
>>> conda activate ddp

From the root directory of deep_data_profiler do
From the root directory of deep_data_profiler do

>>> pip install -e.[‘all’]

Then run

>>> pytest

To see the sphinx documentation
To see the sphinx documentation

>>> open docs/index.html

You may also install without editing, tutorials and testing simply using
You may also install without editing, tutorials and testing simply using

>>> conda create -n ddp python=3.7
>>> pip install .
Expand Down Expand Up @@ -65,9 +65,9 @@ A Streamlit visualization frontend

Notes
-----
The DDP project is part of the Mathematics of Artificial Reasoning in Science (MARS)
The DDP project is part of the Mathematics of Artificial Reasoning in Science (MARS)
Initiative at Pacific Northwest National Laboratory (PNNL).
Research was conducted under the Laboratory Directed Research and Development Program at PNNL,
Research was conducted under the Laboratory Directed Research and Development Program at PNNL,
a multiprogram national laboratory operated by Battelle for the U.S. Department of Energy.

* Principle Investigator: Brenda Praggastis
Expand All @@ -80,8 +80,8 @@ For questions and comments you may contact the developers directly at:

Notice
------
The research described in this paper is part of the Mathematics of Artificial Reasoning in Science (MARS) Initiative at Pacific Northwest National Laboratory (PNNL). It was conducted under the Laboratory Directed Research and Development Program at PNNL, a multiprogram national laboratory operated by Battelle for the U.S. Department of Energy.
The research described in this work is part of the Mathematics of Artificial Reasoning in Science (MARS) Initiative at Pacific Northwest National Laboratory (PNNL). It was conducted under the Laboratory Directed Research and Development Program at PNNL, a multiprogram national laboratory operated by Battelle for the U.S. Department of Energy.

Neither the United States Government nor the United States Department of Energy, nor Battelle, nor any of their employees, nor any jurisdiction or organization that has cooperated in the development of these materials, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness or any information, apparatus, product, software, or process disclosed, or represents that its use would not infringe privately owned rights.
Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or any agency thereof, or Battelle Memorial Institute. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof.

Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import os
import shlex

__version__ = "2.0.0"
__version__ = "2.0.1"


# If extensions (or modules to document with autodoc) are in another directory,
Expand Down
8 changes: 3 additions & 5 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@ Deep Data Profiler (DDP)
Description
===========
The `DeepDataProfiler`_ library provides tools for analyzing the internal decision structure of a deep neural network within the
context of a specific dataset. The Deep Data Profiler project is part of the Mathematics of Artificial Reasoning in Science (MARS)
Initiative at Pacific Northwest National Laboratory (PNNL).
Research was conducted under the Laboratory Directed Research and Development Program at PNNL,
context of a specific dataset. The Deep Data Profiler project is part of the Mathematics of Artificial Reasoning in Science (MARS)
Initiative at Pacific Northwest National Laboratory (PNNL).
Research was conducted under the Laboratory Directed Research and Development Program at PNNL,
a multiprogram national laboratory operated by Battelle for the U.S. Department of Energy.

* Principle Investigator: Brenda Praggastis
* Design and Development: Davis Brown, Brenda Praggastis, Madelyn Shapiro
* Topological Data Analysis Contributors: Emilie Purvine, Bei Wang
* Consultant: Frederick Hohman
* Original authors: Nichole Nichols, Brenda Praggastis, Aaron Tuor

For questions and comments you may contact the developers directly at:
[email protected]
Expand Down
29 changes: 25 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import sys
import os.path

__version__ = "2.0.0"
__version__ = "2.0.1"

if sys.version_info < (3, 7):
sys.exit("DeepDataProfiler requires Python 3.7 or later")
Expand All @@ -20,9 +20,30 @@
description="DNN Data Profiling is a project based on arXiv:1904.08089",
license="3-Clause BSD license",
long_description="""
The DNN Data Profiling library provides tools for analyzing the internal decision structure of a deep neural network within the
context of a specific dataset. The library was inspired by the work of Qiu, et al. in Adversarial Defense Through
Network Profiling Based Path Extraction (2019), arXiv:1904.08089. Full documentation may be found at https://pnnl.github.io/DeepDataProfiler/
The Deep Data Profiling (DDP) library provides tools for analyzing the internal decision structure of a trained deep neural network.
The library was inspired by the work of Qiu, et al. in Adversarial Defense Through
Network Profiling Based Path Extraction (2019), arXiv:1904.08089.
Full documentation may be found at https://pnnl.github.io/DeepDataProfiler/
DDP contains code for generating graphical representations and feature visualizations,
for VGG-like sequential and ResNet models implemented in PyTorch.
DDP also provides tools from topological data analysis for analysis of these representations.
Notice
------
The research used in this repository is part of the Mathematics of Artificial Reasoning in Science (MARS) Initiative at Pacific Northwest National Laboratory (PNNL). It was conducted under the Laboratory Directed Research and Development Program at PNNL, a multiprogram national laboratory operated by Battelle for the U.S. Department of Energy.
Neither the United States Government nor the United States Department of Energy, nor Battelle, nor any of their employees, nor any jurisdiction or organization that has cooperated in the development of these materials, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness or any information, apparatus, product, software, or process disclosed, or represents that its use would not infringe privately owned rights.
Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or any agency thereof, or Battelle Memorial Institute. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof.
```
PACIFIC NORTHWEST NATIONAL LABORATORY
operated by
BATTELLE
for the
UNITED STATES DEPARTMENT OF ENERGY
under Contract DE-AC05-76RL01830
```
""",
install_requires=[
"torch>=1.10.2",
Expand Down

0 comments on commit 907260a

Please sign in to comment.