Skip to content
forked from dnouri/nolearn

Abstractions around neural net libraries, most notably Lasagne.

Notifications You must be signed in to change notification settings

DavidDJChen/nolearn

 
 

Repository files navigation

nolearn contains a number of wrappers and abstractions around existing neural network libraries, most notably Lasagne, along with a few machine learning utility modules. All code is written to be compatible with scikit-learn.

image

Installation

To use the latest version of nolearn from Git, use these commands to get a copy from Github and install all dependencies:

git clone git@github.com:dnouri/nolearn.git
cd nolearn
pip install -r requirements.txt
python setup.py develop

You probably want to use virtualenv when installing nolearn.

Should you ever update your Git checkout (i.e. with git pull), make sure to re-run the pip install -r requirements.txt step again.

A somewhat old version of nolearn is available on PyPI and can be installed with pip.

Documentation

View the nolearn documentation here.

Documentation for nolearn.lasagne is unfortunately lacking at this point, but we'll hopefully improve this soon. However, If you're looking for specifics around classes and functions out of the lasagne package, such as layers, updates, and nonlinearities, then you'll want to look at Lasagne's documentation.

An extensive tutorial that introduces the basic concepts of nolearn.lasagne and uses it to train a model that detects facial keypoints is available here. The code for the tutorial is also available.

nolearn.lasagne comes with a number of tests that demonstrate some of the more advanced features, such as networks with merge layers, and networks with multiple inputs.

Finally, there's a few examples and docs from around the web. Note that some of these might need a specific version of nolearn and Lasange to run:

Support

If you're seeing a bug with nolearn, please submit a bug report to the nolearn issue tracker. Make sure to include information such as:

  • how to reproduce the error: show us how to trigger the bug using a minimal example
  • what versions you are using: include the Git revision and/or version of nolearn (and possibly Lasagne) that you're using

Please also make sure to search the issue tracker to see if your issue has been encountered before or fixed.

If you believe that you're seeing an issue with Lasagne, which is a different software project, please use the Lasagne issue tracker instead.

There's currently no user mailing list for nolearn. However, if you have a question related to Lasagne, you might want to try the Lasagne users list, or use Stack Overflow. Please refrain from contacting the authors for non-commercial support requests directly; public forums are the right place for these.

About

Abstractions around neural net libraries, most notably Lasagne.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%