Skip to main content
orphan:

scikit-neuralnetwork

Deep neural network implementation without the learning cliff! This library implements multi-layer perceptrons as a wrapper for the powerful Lasagne library that’s compatible with scikit-learn for a more user-friendly and Pythonic interface.

NOTE: This project is possible thanks to the nucl.ai Conference on July 18-20. Join us in Vienna!

Documentation Status Code Coverage License Type Project Stars


Features

Thanks to the underlying Lasagne implementation, this library supports the following neural network features, which are exposed in an intuitive and well documented API:

  • Activation Functions —
    • Nonlinear: Sigmoid, Tanh, Rectifier.

    • Linear: Linear, Gaussian, Softmax.

  • Layer Types — Convolution (greyscale and color, 2D), Dense (standard, 1D).

  • Learning Rules — sgd, momentum, nesterov, adadelta, adagrad, rmsprop.

  • Regularization — L1, L2 and dropout.

  • Dataset Formats — numpy.ndarray, scipy.sparse, coming soon: iterators.

If a feature you need is missing, consider opening a GitHub Issue with a detailed explanation about the use case and we’ll see what we can do.

Installation

To download and setup the latest official release, you can do so from PYPI directly:

> pip install scikit-neuralnetwork

This will install a copy of Lasagne too as a dependency. We recommend you use a virtual environment for Python.

Then, you can run the tests using nosetests -v sknn, and other samples or benchmarks are available in the examples/ folder.

Getting Started

The library supports both regressors (to estimate continuous outputs from inputs) and classifiers (to predict labels from features). This is the sklearn-compatible API:

from sknn.mlp import Classifier, Layer

nn = Classifier(
    layers=[
        Layer("Rectifier", units=100),
        Layer("Linear")],
    learning_rate=0.02,
    n_iter=10)
nn.fit(X_train, y_train)

y_valid = nn.predict(X_valid)

score = nn.score(X_test, y_test)

The generated documentation as a standalone page where you can find more information about parameters, as well as examples in the User Guide.


Documentation Status Code Coverage License Type Project Stars

Metadata

Release files for scikit-neuralnetwork 0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scikit-neuralnetwork 0.7
File Size Uploaded Provenance Actions
scikit-neuralnetwork-0.7.tar.gz 33.3 kB Without provenance Details for scikit-neuralnetwork-0.7.tar.gz

Release files / scikit-neuralnetwork-0.7.tar.gz

Download URL scikit-neuralnetwork-0.7.tar.gz
Size 33.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5a08a01759ece55fdd9a16a1227a7b8d7d103b97abe60320972c9f077a9a3eb8
BLAKE2b-256 checksum
How to use checksums
dd37bfc84fc1b1bfc7364f564469cf76d90336accf16087dfd5a1bf589bd1dd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for scikit-neuralnetwork 0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page