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.

Source Distribution

force-0.1.4.tar.gz (2.0 kB view hashes)

Uploaded source

Supported by

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