|
1 | | -nolearn contains a number of wrappers around existing neural network |
2 | | -libraries, along with a few machine learning utility modules. Most |
3 | | -functionality is written to be compatible with the the excellent |
4 | | -`scikit-learn <http://scikit-learn.org/>`_ library. |
| 1 | +*nolearn* contains a number of wrappers and abstractions around |
| 2 | +existing neural network libraries, most notably `Lasagne |
| 3 | +<http://lasagne.readthedocs.org/>`_, along with a few machine learning |
| 4 | +utility modules. All code is written to be compatible with |
| 5 | +`scikit-learn <http://scikit-learn.org/>`_. |
5 | 6 |
|
6 | | -View the `documentation here <http://packages.python.org/nolearn/>`_. |
| 7 | +.. image:: https://travis-ci.org/dnouri/nolearn.svg?branch=master |
| 8 | + :target: https://travis-ci.org/dnouri/nolearn |
7 | 9 |
|
8 | | -When installing nolearn, it is recommended to use the requirements.txt |
9 | | -file included in the source. To install the requirements for the most |
10 | | -recent version of nolearn from Git, you would run:: |
| 10 | +Installation |
| 11 | +============ |
11 | 12 |
|
12 | | - pip install -r https://raw.githubusercontent.com/dnouri/nolearn/master/requirements.txt |
| 13 | +To use the latest version of *nolearn* from Git, use these commands to |
| 14 | +get a copy from Github and install all dependencies:: |
13 | 15 |
|
14 | | -nolearn includes a popular wrapper around the `Lasagne neural networks |
15 | | -library <https://github.com/Lasagne/Lasagne>`_. An extensive |
16 | | -`tutorial showing how to use Lasagne through nolearn to detect facial |
17 | | -keypoints is available here |
| 16 | + git clone git@github.com:dnouri/nolearn.git |
| 17 | + cd nolearn |
| 18 | + pip install -r requirements.txt |
| 19 | + python setup.py develop |
| 20 | + |
| 21 | +You probably want to use `virtualenv <https://virtualenv.pypa.io>`_ |
| 22 | +when installing nolearn. |
| 23 | + |
| 24 | +Should you ever update your Git checkout (i.e. with ``git pull``), |
| 25 | +make sure to re-run the ``pip install -r requirements.txt`` step |
| 26 | +again. |
| 27 | + |
| 28 | +A somewhat old version of nolearn is available on `PyPI |
| 29 | +<https://pypi.python.org/pypi/nolearn>`_ and can be installed with |
| 30 | +*pip*. |
| 31 | + |
| 32 | +Documentation |
| 33 | +============= |
| 34 | + |
| 35 | +View the `nolearn documentation here |
| 36 | +<http://packages.python.org/nolearn/>`_. |
| 37 | + |
| 38 | +Documentation for *nolearn.lasagne* is unfortunately lacking at this |
| 39 | +point, but we'll hopefully improve this soon. However, If you're |
| 40 | +looking for specifics around classes and functions out of the |
| 41 | +*lasagne* package, such as layers, updates, and nonlinearities, then |
| 42 | +you'll want to look at `Lasagne's documentation |
| 43 | +<http://lasagne.readthedocs.org/>`_. |
| 44 | + |
| 45 | +An extensive tutorial that introduces the basic concepts of |
| 46 | +*nolearn.lasagne* and uses it to train a model that detects facial |
| 47 | +keypoints is `available here |
18 | 48 | <http://danielnouri.org/notes/2014/12/17/using-convolutional-neural-nets-to-detect-facial-keypoints-tutorial/>`_. |
19 | | -The `code for the tutorial is also available |
| 49 | +The code for the tutorial is `also available |
20 | 50 | <https://github.com/dnouri/kfkd-tutorial>`_. |
| 51 | + |
| 52 | +*nolearn.lasagne* comes with a `number of tests |
| 53 | +<https://github.com/dnouri/nolearn/tree/master/nolearn/lasagne/tests>`_ |
| 54 | +that demonstrate some of the more advanced features, such as networks |
| 55 | +with merge layers, and networks with multiple inputs. |
| 56 | + |
| 57 | +Finally, there's a few examples and docs from around the web. Note |
| 58 | +that some of these might need a specific version of nolearn and |
| 59 | +Lasange to run: |
| 60 | + |
| 61 | +- Oliver Dürr's `Convolutional Neural Nets II Hands On |
| 62 | + <https://home.zhaw.ch/~dueo/bbs/files/ConvNets_24_April.pdf>`_ with |
| 63 | + `code <https://github.com/oduerr/dl_tutorial/tree/master/lasagne>`_ |
| 64 | + |
| 65 | +- Benjamin Bossan's `Otto Group Product Classification Challenge |
| 66 | + using nolearn/lasagne |
| 67 | + <https://github.com/ottogroup/kaggle/blob/master/Otto_Group_Competition.ipynb>`_ |
| 68 | + |
| 69 | +- Kaggle's `instructions on how to set up an AWS GPU instance to run |
| 70 | + nolearn.lasagne |
| 71 | + <https://www.kaggle.com/c/facial-keypoints-detection/details/deep-learning-tutorial>`_ |
| 72 | + and the facial keypoint detection tutorial |
| 73 | + |
| 74 | +- `An example convolutional autoencoder |
| 75 | + <https://github.com/mikesj-public/convolutional_autoencoder/blob/master/mnist_conv_autoencode.ipynb>`_ |
| 76 | + |
| 77 | +Support |
| 78 | +======= |
| 79 | + |
| 80 | +If you're seeing a bug with nolearn, please submit a bug report to the |
| 81 | +`nolearn issue tracker <https://github.com/dnouri/nolearn/issues>`_. |
| 82 | +Make sure to include information such as: |
| 83 | + |
| 84 | +- how to reproduce the error: show us how to trigger the bug using a |
| 85 | + minimal example |
| 86 | + |
| 87 | +- what versions you are using: include the Git revision and/or version |
| 88 | + of nolearn (and possibly Lasagne) that you're using |
| 89 | + |
| 90 | +Please also make sure to search the issue tracker to see if your issue |
| 91 | +has been encountered before or fixed. |
| 92 | + |
| 93 | +If you believe that you're seeing an issue with Lasagne, which is a |
| 94 | +different software project, please use the `Lasagne issue tracker |
| 95 | +<https://github.com/Lasagne/Lasagne/issues>`_ instead. |
| 96 | + |
| 97 | +There's currently no user mailing list for nolearn. However, if you |
| 98 | +have a question related to Lasagne, you might want to try the `Lasagne |
| 99 | +users list <https://groups.google.com/d/forum/lasagne-users>`_, or use |
| 100 | +Stack Overflow. Please refrain from contacting the authors for |
| 101 | +non-commercial support requests directly; public forums are the right |
| 102 | +place for these. |
0 commit comments