Skip to main content

Multilayer Feed-Forward Neural Network (MuFFNN) models with TensorFlow and scikit-learn

Project description

# Introduction

This project provides multilayer perceptron predictive models, implemented
using [TensorFlow](https://www.tensorflow.org/) and following the
[scikit-learn](http://scikit-learn.org)
[Predictor API](http://scikit-learn.org/stable/developers/contributing.html#apis-of-scikit-learn-objects).

# Installation

Installation with `pip` is recommended:

```bash
pip install muffnn
```

You can also create a `conda` environment:

```bash
conda env create -f environment.yml
source activate muffnn
pip install muffnn
```

Google provides TensorFlow pip wheels for different OSs and architectures.
See [this page](https://www.tensorflow.org/install/) for more details.

For development, a few additional dependencies are needed:

```bash
conda install flake8 pytest nose
```

# Usage

To use the code, import one of the predictor classes and use it as you would
other predictors such as `LogisticRegression`. An example:

```python
from muffnn import MLPClassifier

X, y = load_some_data()

mlp = MLPClassifier()
mlp.fit(X, y)

X_new = load_some_unlabeled_data()
y_pred = mlp.predict(X_new)
```

# Contributing

See `CONTIBUTING.md` for information about contributing to this project.

# License

BSD-3

See `LICENSE.txt` for details.

# Related Tools

* [sklearn.neural_network](http://scikit-learn.org/dev/modules/classes.html#module-sklearn.neural_network)
* [tensorflow.contrib.learn](https://github.com/tensorflow/tensorflow/tree/r0.10/tensorflow/contrib/learn/python/learn)
* [keras.wrappers.scikit_learn](https://keras.io/scikit-learn-api/)

# Contributors

* [Mike Heilman](https://github.com/mheilman/)
* [Walt Askew](https://github.com/waltaskew/)
* [Matt Becker](https://github.com/beckermr/)
* [Bill Lattner](https://github.com/wlattner/)
* [Sam Weiss](https://github.com/samcarlos)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

muffnn-1.0.0.tar.gz (30.9 kB view details)

Uploaded Source

File details

Details for the file muffnn-1.0.0.tar.gz.

File metadata

  • Download URL: muffnn-1.0.0.tar.gz
  • Upload date:
  • Size: 30.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for muffnn-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e0c60fd4c19769f20146016dbacfff5daccc6000810475c472c73a661208544a
MD5 ebc7bfe7847712800212642e0479675c
BLAKE2b-256 b11923c82efcca29daec010974934b98cca5251abf04d2bf41677bda85cb8367

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page