force-0.1.4
توضیحات
A method for visualizing the receiptive fields of a neural network
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | force-0.1.4 |
| نام | force |
| نسخه کتابخانه | 0.1.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Mat Kallada |
| ایمیل نویسنده | matkallada@gmail.com |
| آدرس صفحه اصلی | https://pypi.org/project/force/ |
| آدرس اینترنتی | https://pypi.org/project/force/ |
| مجوز | - |
# 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.
نحوه نصب
نصب پکیج whl force-0.1.4:
pip install force-0.1.4.whl
نصب پکیج tar.gz force-0.1.4:
pip install force-0.1.4.tar.gz