Force: A package to visualize the receptive fields
Force is a Python package that allows you to visualize the receptive fields of a neural network.
1. How to Run
To run this algorithm in Python:
from force.receptive_field import visualize_neuron
from gdbn.dbn import buildDBN
import matplotlib.pyplot as plt
# Make a deep belief network
dbn = buildDBN([1, 100, 1])
# Get the 3rd neuron on the 1st layer. (With Linear averaging)
neuron = visualize_neuron(dbn, 0, 2)
# Plot!
plt.imshow(neuron)
plt.show()
All configurable options are in the SBB/config.py file, in the variable CONFIG.
Metadata
Release files for force 0.1.4
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 | |
|---|---|---|---|---|
| force-0.1.4.tar.gz | 2.0 kB | Without provenance | Details |
Release files / force-0.1.4.tar.gz
| Download URL | force-0.1.4.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c9e1d9a645446a966354d993d2a05e4ab2d7951886e5db77657050e433f9365
|
|
BLAKE2b-256 checksum How to use checksums |
fba039ea2701139d996272f81cc783eb461e198c33bb909a8d29a947e1a43b3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15
|
Security for force 0.1.4
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.