• Stars
    star
    948
  • Rank 47,853 (Top 1.0 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 12 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Combines the ease of use of scikit-learn with the power of Theano/Lasagne

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.

Note

nolearn is currently unmaintained. However, if you follow the installation instructions, you should still be able to get it to work (namely with library versions that are outdated at this point).

If you're looking for an alternative to nolearn.lasagne, a library that integrates neural networks with scikit-learn, then take a look at skorch, which wraps PyTorch for scikit-learn.

https://travis-ci.org/dnouri/nolearn.svg?branch=master

Installation

We recommend using venv (when using Python 3) or virtualenv (Python 2) to install nolearn.

nolearn comes with a list of known good versions of dependencies that we test with in requirements.txt. To install the latest version of nolearn from Git along with these known good dependencies, run these two commands:

pip install -r https://raw.githubusercontent.com/dnouri/nolearn/master/requirements.txt
pip install git+https://github.com/dnouri/nolearn.git

Documentation

If you're looking for how to use nolearn.lasagne, then there's two introductory tutorials that you can choose from:

For specifics around classes and functions out of the lasagne package, such as layers, updates, and nonlinearities, you'll want to look at the Lasagne project's documentation.

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.

nolearn's own documentation is somewhat out of date at this point. But there's more resources online.

Finally, there's a few presentations and examples 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.

Citation

Citations are welcome:

Daniel Nouri. 2014. nolearn: scikit-learn compatible neural network library https://github.com/dnouri/nolearn

License

See the LICENSE.txt file for license rights and limitations (MIT).

More Repositories

1

cuda-convnet

My fork of Alex Krizhevsky's cuda-convnet from 2013 where I added dropout, among other features.
Cuda
245
star
2

kfkd-tutorial

Code for my Kaggle Facial Keypoints Detection tutorial
Python
113
star
3

gdbn

George Dahl's gdbn: Pre-trained deep neural networks
Python
28
star
4

pyramid-tutorial

Create a Pyramid app from scratch. Learn about models, views, traversal, security, the ZODB, and more.
CSS
27
star
5

gnumpy

A distutils package for gnumpy and npmat
Python
18
star
6

noccn

Utilities for Alex Krizhevsky's cuda-convnet
Python
17
star
7

twitter-discovery

Python
15
star
8

python-tutorials

A collection of material for Python and web related tutorials that I used between 2008 through 2010.
Python
15
star
9

photo_splitter

GUI for cropping a large amount of images quickly.
Python
13
star
10

dsr-2015

Course material for datascienceretreat.com
Jupyter Notebook
6
star
11

beistrich

Predict where to put commas in sentences.
Python
4
star
12

kemi

kemi is an add-on for SQLAlchemy that aims to make defining relations with declarative easier for the most common cases.
Python
4
star
13

midi2sc

Control SuperCollider Synths with MIDI
Python
3
star
14

pyramid_basicauth

Pyramid plugin for HTTP Basic access authentication
Python
3
star
15

jabber-the-hutt

An experimental bot for Jabber chat rooms.
Python
3
star
16

NixChecker-

NixChecker an online twitter fact checker bot
Python
2
star
17

dsr-2018

Course material for datascienceretreat.com
Jupyter Notebook
1
star
18

pyproject

Pyproject package template
Python
1
star
19

machine-learning-lib

A small and personal library of machine learning functions for use with GNU Octave.
MATLAB
1
star
20

nose-doctesthack

Add meaningful pdb post-mortem debugging for doctests to nose
Python
1
star