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.1.2.tar.gz (28.7 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for muffnn-1.1.2.tar.gz
Algorithm Hash digest
SHA256 4cf1c30acfbe93cac1a3b2d113ee2201591bafcbd1daf8663a9cccd11a36da44
MD5 5b14a88309a2114f99ec1238282325e6
BLAKE2b-256 3a0da2d795b41c5c2a7b7525ca698d5ac75b12d2090c6e59788e94322fc7065a

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