From 354b0770d4df72d6ee11512ac4aadd11200af70e Mon Sep 17 00:00:00 2001 From: ago109 Date: Thu, 20 Jun 2024 13:14:44 -0400 Subject: [PATCH 1/2] nudged dev ngclearn docs to new beta --- README.md | 8 ++++---- docs/installation.md | 4 ++-- ngclearn/utils/viz/raster.py | 2 +- pyproject.toml | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 4d13d303..de5357e7 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ ngc-learn requires: 1) Python (>=3.10) 2) NumPy (>=1.26.0) 3) SciPy (>=1.7.0) -4) ngcsimlib (>=0.2.b1), (visit official page here) +4) ngcsimlib (>=0.3.b2), (visit official page here) 5) JAX (>= 0.4.18) (to enable GPU use, make sure to install one of the CUDA variants) --- -ngc-learn 1.1.beta2 and later require Python 3.10 or newer as well as ngcsimlib >=0.3.b1. +ngc-learn 1.1.beta2 and later require Python 3.10 or newer as well as ngcsimlib >=0.3.b2. ngc-learn's plotting capabilities (routines within `ngclearn.utils.viz`) require Matplotlib (>=3.8.0) and imageio (>=2.31.5) and both plotting and density estimation tools (routines within ``ngclearn.utils.density``) will require Scikit-learn (>=0.24.2). @@ -81,7 +81,7 @@ Python 3.11.4 (main, MONTH DAY YEAR, TIME) [GCC XX.X.X] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import ngclearn >>> ngclearn.__version__ -'1.1b2' +'1.2b0' ``` Note: For access to the previous Tensorflow-2 version of ngc-learn (of @@ -128,7 +128,7 @@ $ python install -e . **Version:**
-1.1.4-Beta +1.2.0-Beta Author: Alexander G. Ororbia II
diff --git a/docs/installation.md b/docs/installation.md index 04640d8f..a158d2e3 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -9,7 +9,7 @@ requires that you ensure that you have installed the following base dependencies your system. Note that this library was developed and tested on Ubuntu 22.04 (and 18.04). Specifically, ngc-learn requires: * Python (>=3.10) -* ngcsimlib (>=0.2.b1), (official page) +* ngcsimlib (>=0.3.b2), (official page) * NumPy (>=1.26.0) * SciPy (>=1.7.0) * JAX (>= 0.4.18; and jaxlib>=0.4.18) @@ -78,7 +78,7 @@ Python 3.11.4 (main, MONTH DAY YEAR, TIME) [GCC XX.X.X] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import ngclearn >>> ngclearn.__version__ -'1.1b2' +'1.2b0' ``` Note: If you do not have a JSON configuration file in place (see tutorials diff --git a/ngclearn/utils/viz/raster.py b/ngclearn/utils/viz/raster.py index 4ae3be23..dff8745b 100755 --- a/ngclearn/utils/viz/raster.py +++ b/ngclearn/utils/viz/raster.py @@ -60,7 +60,7 @@ def create_raster_plot(spike_train, ax=None, s=0.5, c="black", events = [] for t in range(n_count): if indices is None or t in indices: - e = spike_train[t,:].nonzero() + e = spike_train[t, :].nonzero() events.append(e[0]) _ax.eventplot(events, linelengths=s, colors=c) if ax is None: diff --git a/pyproject.toml b/pyproject.toml index a43c414c..8e7da02c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "ngclearn" -version = "1.1.beta4" +version = "1.2.beta0" description = "Simulation software for building and analyzing arbitrary predictive coding, spiking network, and biomimetic neural systems." authors = [ {name = "Alexander Ororbia", email = "ago@cs.rit.edu"}, From 654a14e7046fc230ac60da809469d610ab00c5ba Mon Sep 17 00:00:00 2001 From: ago109 Date: Thu, 20 Jun 2024 13:19:15 -0400 Subject: [PATCH 2/2] more nudging to dev docs to prep for pip update --- README.md | 4 +--- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index de5357e7..b38f4d6a 100644 --- a/README.md +++ b/README.md @@ -46,13 +46,11 @@ ngc-learn requires: --> --- -ngc-learn 1.1.beta2 and later require Python 3.10 or newer as well as ngcsimlib >=0.3.b2. +ngc-learn 1.2.beta0 and later require Python 3.10 or newer as well as ngcsimlib >=0.3.b3. ngc-learn's plotting capabilities (routines within `ngclearn.utils.viz`) require Matplotlib (>=3.8.0) and imageio (>=2.31.5) and both plotting and density estimation tools (routines within ``ngclearn.utils.density``) will require Scikit-learn (>=0.24.2). Many of the tutorials will require Matplotlib (>=3.8.0), imageio (>=2.31.5), and Scikit-learn (>=0.24.2). - ### User Installation diff --git a/requirements.txt b/requirements.txt index 940c57d2..f7e4060c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,5 +5,5 @@ matplotlib>=3.8.0 patchify jax>=0.4.18 jaxlib>=0.4.18 -ngcsimlib>=0.3.b2 +ngcsimlib>=0.3.b3 imageio>=2.31.5