Skip to main content

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

Project description

muffnn

Build status Latest version on PyPI

scikit-learn-compatible neural network models implemented in TensorFlow

Installation

This package currently supports Python 3.6 and 3.7.

Installation with pip is recommended:

pip install muffnn

You can install the dependencies via:

pip install -r requirements.txt

If you have trouble installing TensorFlow, see this page for more details.

For development, a few additional dependencies are needed:

pip install -r dev-requirements.txt

Usage

Each estimator in the code follows the scikit-learn API. Thus usage follows the scikit-learn conventions:

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)

Further, serialization of the TensorFlow graph and data is handled automatically when the object is pickled:

import pickle

with open('est.pkl', 'wb') as fp:
    pickle.dump(est, fp)

Contributing

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

License

BSD-3

See LICENSE.txt for details.

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

Uploaded Source

Built Distribution

muffnn-2.3.2-py3-none-any.whl (59.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: muffnn-2.3.2.tar.gz
  • Upload date:
  • Size: 45.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.0

File hashes

Hashes for muffnn-2.3.2.tar.gz
Algorithm Hash digest
SHA256 d5448b9cdb148b9039be737584423491dd8fc128f6c1838d9b57b5d4702acfca
MD5 bb786324e918196d67f54381515736e2
BLAKE2b-256 4491000f734fb1f2b9738086e4773f4cfcb0bd2f60d73d19452cdb8f4b9bde27

See more details on using hashes here.

File details

Details for the file muffnn-2.3.2-py3-none-any.whl.

File metadata

  • Download URL: muffnn-2.3.2-py3-none-any.whl
  • Upload date:
  • Size: 59.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.0

File hashes

Hashes for muffnn-2.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d21f1d466e6c0484bffa026fc8b8f63c65426b1e25c50f2cdb6e2b9718ed5378
MD5 629269728cac26087ef49977c8d1b150
BLAKE2b-256 275ee741e8d235494b3212eea3f575103c4527e136e4be9540906f61146ae79a

See more details on using hashes here.

Supported by

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