Skip to main content

A method for visualizing the receiptive fields of a neural network

Project description

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!

All configurable options are in the SBB/ file, in the variable CONFIG.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for force, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size force-0.1.4.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page