[This fork of George Dahl’s gdbn merely exists to make it available as a setuptools package on PyPI. The original version can be downloaded from http://www.cs.toronto.edu/~gdahl/]
This package contains python code for pre-trained deep neural networks (sometimes called deep belief networks in an abuse of terminology that I too have been guilty of). RBM pre-training is supported and backpropagation. There are a handful of possible unit types. For training, minibatched stochastic gradient descent is implemented. This initial release has essentially no documentation other than what exists in the code itself (which is very little), but it is small enough so hopefully someone familiar with the algorithms and with python could use it. Of course such a person could probably write their own software.
This initial release only has the barest essentials of features. My internal version has more features, but some of them have not been published yet and thus have been stripped away from the release version. After all the features I have implelmented in my internal code have been made public, I plan on doing a slightly better release, perhaps even with some documentation.
Dependencies gnumpy (http://www.cs.toronto.edu/~tijmen/gnumpy.html) and one of cudamat (http://code.google.com/p/cudamat/) or npmat (http://www.cs.toronto.edu/~ilya/npmat.py), a non-gpu cudamat stand-in.
Running the Example (mnistExample.py)
Download the gzipped data from http://www.cs.toronto.edu/~gdahl/mnist.npz.gz and unzip it into the same folder as all of the code (or change the line f = num.load(“mnist.npz”) in mnistExample.py. Then you should be able to run the example with $ python mnistExample.py assuming you have obtained all the dependencies for
Metadata
Release files for gdbn 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gdbn-0.1.tar.gz | 10.8 kB | Without provenance | Details for gdbn-0.1.tar.gz |
Release files / gdbn-0.1.tar.gz
| Download URL | gdbn-0.1.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb3ceac77e89a31632b27d19c2c5d87ccb425c6bf281b8a8d2bdcf83fe8818a6
|
|
BLAKE2b-256 checksum How to use checksums |
885c512341ac1e6e8fa3008171b8dae49d2bd7b886e79f525658955bc59946c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for gdbn 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.