Skip to content

Commit

Permalink
Updates docs and README with pylissom feature list
Browse files Browse the repository at this point in the history
  • Loading branch information
hernanbari committed Oct 20, 2018
1 parent 4dce764 commit 0b38a5f
Show file tree
Hide file tree
Showing 11 changed files with 61 additions and 3 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,21 @@ The library and API documentation are at: https://pylissom.readthedocs.io/, you
[Orientation Maps and pylissom tools](https://nbviewer.jupyter.org/github/hernanbari/pylissom/blob/master/notebooks/Orientation_maps_and_tools.ipynb)


The main features provided by **pylissom** are:

- LISSOM's activation

- LISSOM's hebbian learning mechanism and others

- Configuration and model building tools

- Common Guassian stimuli for LISSOM experiments

- Plotting helpers

- Training pipeline objects


Installation
------------

Expand Down
2 changes: 2 additions & 0 deletions docs/_modules/pylissom.datasets.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _datasets:

pylissom.datasets
=========================

Expand Down
2 changes: 2 additions & 0 deletions docs/_modules/pylissom.models.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _models:

pylissom.models
=======================

Expand Down
2 changes: 2 additions & 0 deletions docs/_modules/pylissom.nn.modules.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _nn_module:

pylissom.nn.modules
===========================

Expand Down
2 changes: 2 additions & 0 deletions docs/_modules/pylissom.optim.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _optim:

pylissom.optim
======================

Expand Down
2 changes: 2 additions & 0 deletions docs/_modules/pylissom.utils.config.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _config:

pylissom.utils.config
=============================

Expand Down
2 changes: 2 additions & 0 deletions docs/_modules/pylissom.utils.plotting.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _plotting:

pylissom.utils.plotting
===============================

Expand Down
2 changes: 2 additions & 0 deletions docs/_modules/pylissom.utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ pylissom.utils.orientation\_maps module
:undoc-members:
:show-inheritance:

.. _stimuli:

pylissom.utils.stimuli module
-----------------------------

Expand Down
4 changes: 4 additions & 0 deletions docs/_modules/pylissom.utils.training.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _training:

pylissom.utils.training
===============================

Expand Down Expand Up @@ -25,6 +27,8 @@ pylissom.utils.training.grid\_search module
:undoc-members:
:show-inheritance:

.. _pipeline:

pylissom.utils.training.pipeline module
---------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion docs/usage/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ You should first install PyTorch with conda as explained at: https://pytorch.org

Install PyLissom by running:

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pylissom
``pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pylissom``

The code is hosted in pypi: https://test.pypi.org/project/pylissom/
29 changes: 27 additions & 2 deletions docs/usage/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,37 @@
Getting Started
---------------

There are Jupyter notebooks with tutorials at the `github's page <https://github.com/hernanbari/pylissom>`_ of the project. If Github is not rendering them, we leave these links at your disposal:
There are Jupyter notebooks with tutorials at the `github's page <https://github.com/hernanbari/pylissom>`_ of the
project. If Github is not rendering them, we leave these links at your disposal:

`Linear modules <https://nbviewer.jupyter.org/github/hernanbari/pylissom/blob/master/notebooks/Linear_modules.ipynb>`_

`Lissom modules <https://nbviewer.jupyter.org/github/hernanbari/pylissom/blob/master/notebooks/Lissom_modules.ipynb>`_

`Optimizers <https://nbviewer.jupyter.org/github/hernanbari/pylissom/blob/master/notebooks/Optimizers.ipynb>`_

`Orientation Maps and pylissom tools <https://nbviewer.jupyter.org/github/hernanbari/pylissom/blob/master/notebooks/Orientation_maps_and_tools.ipynb>`_
`Orientation Maps and pylissom tools <https://nbviewer.jupyter
.org/github/hernanbari/pylissom/blob/master/notebooks/Orientation_maps_and_tools.ipynb>`_

The main features provided are:

LISSOM's activation
Consisting of several layers following the :py:class:`torch.nn.Module` interface. Found in :ref:`nn_module`.

LISSOM's hebbian learning mechanism and others
Implemented following the :py:class:`torch.optim.Optimizer` interface. Found in :ref:`optim`.

Configuration and model building tools
Make it easy to track and change layer's hyperparameters. Based in the :py:mod:`configobj` and :py:mod:`yaml`
config libraries. Examples of config files and code can be found in :ref:`models` and :ref:`config`.

Common Guassian stimuli for LISSOM experiments
Following the :py:class:`torch.utils.data.Dataset` interface. Uses the popular :py:mod:`scikit-image` and
:py:mod:`cv2` libs. Found in :ref:`datasets` and :ref:`stimuli`.

Plotting helpers
For displaying LISSOM layers weights and activations mainly in Jupyter Notebooks. Uses :py:mod:`matplotlib`. Found
in :ref:`plotting`.

Training objects for simplifying :py:mod:`torch` boilerplate.
Found in :ref:`pipeline`.

0 comments on commit 0b38a5f

Please sign in to comment.