From 2b67e1206b85a980e02dcb0dd0e6ea9e3f89849f Mon Sep 17 00:00:00 2001 From: Brenda Praggastis Date: Wed, 2 Nov 2022 16:16:41 -0700 Subject: [PATCH] updated for pypi release --- DISCLAIMER.txt | 6 +++--- README.md | 20 ++++++++++---------- docs/source/conf.py | 2 +- docs/source/index.rst | 8 +++----- setup.py | 29 +++++++++++++++++++++++++---- 5 files changed, 42 insertions(+), 23 deletions(-) diff --git a/DISCLAIMER.txt b/DISCLAIMER.txt index a3cef7d..69f7b2f 100644 --- a/DISCLAIMER.txt +++ b/DISCLAIMER.txt @@ -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. @@ -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 \ No newline at end of file + under Contract DE-AC05-76RL01830 diff --git a/README.md b/README.md index 1c7a1fa..9a9fd67 100644 --- a/README.md +++ b/README.md @@ -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/) @@ -12,12 +12,12 @@ 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’] @@ -25,11 +25,11 @@ 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 . @@ -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 @@ -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. diff --git a/docs/source/conf.py b/docs/source/conf.py index 4b3a965..666d29f 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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, diff --git a/docs/source/index.rst b/docs/source/index.rst index ffca497..0339387 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -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: deepdataprofiler@pnnl.gov diff --git a/setup.py b/setup.py index 855f7f7..d3ad1be 100644 --- a/setup.py +++ b/setup.py @@ -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") @@ -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",