The library that makes neural networks appear
Project description
Pear
And neural networks appear
Pear is a library that aims at offering a visual representation of neural networks. It can read networks built using Google's TensorFlow in and, for each requested layer, draw the associated decision boundaries.
Pear is still in the development process.
Installing Pear will also install the following packages (if they are not already installed on your system): numpy, Pillow, matplotlib, tensorflow, webcolors.
To use, do::
>>> import pearlib
Pear is not yet able to work will all types of network: only networks with 2 inputs and 1 output are accepted so far. Moreover, to simplify the parameters extraction, the input networks must follow the following naming convention:
- All weight matrices should be named "W" followed by the number of the layer they belong to. Example: the weight matrix of the first layer will be called "W1".
- All bias vectors should be named "b" followed by the number of the layer they belong to. Example: the bias vector of the first layer will be called "b1".
Example networks for Lena, with different numbers of parameters are available in the "example" folder, as well as an example running file "example.py" showing how to use Pear to visualize your network.
Ap'Pear, a graphical user interface for Pear is available for download here: https://lc.cx/gPgP
To start it, unzip the file and do in your command terminal::
>>> python3 main.py
Example networks for Lena, with different numbers of parameters, as well as an example file example.py are available in example.zip, downloadable at: https://lc.cx/gPgP
And neural networks appear
Pear is a library that aims at offering a visual representation of neural networks. It can read networks built using Google's TensorFlow in and, for each requested layer, draw the associated decision boundaries.
Pear is still in the development process.
Installing Pear will also install the following packages (if they are not already installed on your system): numpy, Pillow, matplotlib, tensorflow, webcolors.
To use, do::
>>> import pearlib
Pear is not yet able to work will all types of network: only networks with 2 inputs and 1 output are accepted so far. Moreover, to simplify the parameters extraction, the input networks must follow the following naming convention:
- All weight matrices should be named "W" followed by the number of the layer they belong to. Example: the weight matrix of the first layer will be called "W1".
- All bias vectors should be named "b" followed by the number of the layer they belong to. Example: the bias vector of the first layer will be called "b1".
Example networks for Lena, with different numbers of parameters are available in the "example" folder, as well as an example running file "example.py" showing how to use Pear to visualize your network.
Ap'Pear, a graphical user interface for Pear is available for download here: https://lc.cx/gPgP
To start it, unzip the file and do in your command terminal::
>>> python3 main.py
Example networks for Lena, with different numbers of parameters, as well as an example file example.py are available in example.zip, downloadable at: https://lc.cx/gPgP
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
pearlib-1.0.tar.gz
(8.4 kB
view details)
Built Distribution
pearlib-1.0-py3-none-any.whl
(15.9 kB
view details)
File details
Details for the file pearlib-1.0.tar.gz
.
File metadata
- Download URL: pearlib-1.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f45cbdd8325de8a6a29005beb01d69dec42e3db5bf5385bd3390d099dbe900cf |
|
MD5 | d76b8ecaa8c3b8e51d56da07f5e396a8 |
|
BLAKE2b-256 | 06ea2a787ee41d19e508adf3f50eb82def19df70dff04418664a48f444fc128a |
File details
Details for the file pearlib-1.0-py3-none-any.whl
.
File metadata
- Download URL: pearlib-1.0-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a98a69dbc34865a60585f00b7a4fe284602f6bdd013b7094da03893b2dabf149 |
|
MD5 | f96c0a6320cf6678a4c2da0d3e3bd003 |
|
BLAKE2b-256 | 62c56ced1586920367acfbaae033557d6859218dc7b19a9130705c233743cd39 |